function ajax_example_autotextfields_callback

Callback for autotextfields.

Selects the piece of the form we want to use as replacement text and returns it as a form (renderable array).

Return value

array Renderable array (the textfields element)

Related topics

1 string reference to 'ajax_example_autotextfields_callback'
ajax_example_autotextfields in ajax_example/ajax_example.module
Show/hide textfields based on AJAX-enabled checkbox clicks.

File

ajax_example/ajax_example.module, line 500

Code

function ajax_example_autotextfields_callback($form, $form_state) {
    return $form['textfields'];
}