function _form_test_checkbox_submit
Return the form values via JSON.
1 string reference to '_form_test_checkbox_submit'
- form_test_checkboxes_zero in modules/
simpletest/ tests/ form_test.module
File
-
modules/
simpletest/ tests/ form_test.module, line 1188
Code
function _form_test_checkbox_submit($form, &$form_state) {
drupal_json_output($form_state['values']);
exit;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.