function multiform_test2_2 in Multiple forms 7.2
Same name and namespace in other branches
- 7 tests/multiform_test.module \multiform_test2_2()
Build multiform_test2_2 form.
_state
Parameters
type $form:
Return value
array
1 string reference to 'multiform_test2_2'
- multiform_test2_callback in tests/
multiform_test.module - Callback for Test 2
File
- tests/
multiform_test.module, line 234 - @author Kálmán Hosszu - http://drupal.org/user/267481
Code
function multiform_test2_2($form, $form_state) {
$form['required_text_2'] = array(
'#type' => 'textfield',
'#title' => 'test2',
'#required' => TRUE,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => 'save',
'#submit' => array(
'multiform_test2_submit_button',
),
);
return $form;
}