function multiform_test2 in Multiple forms 7
1 string reference to 'multiform_test2'
- multiform_test_menu in ./
multiform.example.inc - @file
File
- ./
multiform.example.inc, line 28 - @author Kálmán Hosszu - http://drupal.org/user/267481
Code
function multiform_test2($form) {
$form['submit'] = array(
'#type' => 'submit',
'#value' => 'save',
'#submit' => array(
'multiform_test_submit_button',
),
);
$form['delete'] = array(
'#type' => 'submit',
'#value' => 'delete',
'#submit' => array(
'multiform_test_delete',
),
);
$form['test2'] = array(
'#type' => 'textfield',
'#title' => 'test2',
);
return $form;
}