1 ajax_example_node_form_alter.inc | ajax_example_form_node_callback($form, $form_state) |
Returns changed part of the form.
Return value
array: Form API array.
See also
ajax_example_form_node_form_alter()
File
- modules/
examples/ ajax_example/ ajax_example_node_form_alter.inc, line 57 - This example shows how to use AJAX when altering a node form.
Code
function ajax_example_form_node_callback($form, $form_state) {
return $form['container'];
}