Can I customize which data will be pass in the dependent field?

edited April 2017 in Modules
Can I customize which data will be pass in the dependent field?
i.e instead of just first_name. i want to display first_name and last_name column in the field.

Comments

  • edited 8:33AM
    The dependent field makes an AJAX call by default that returns the models' Base_module_model::ajax_options() method that gets routed through fuel/modules/fuel/controllers/Module::ajax() controller method. You can change the AJAX request URL to be something else (note the URL parameter documentation here):
    http://docs.getfuelcms.com/general/forms#dependent
Sign In or Register to comment.