You are here

function multiform_test1 in Multiple forms 7

1 string reference to 'multiform_test1'
multiform_test_menu in ./multiform.example.inc
@file

File

./multiform.example.inc, line 21
@author Kálmán Hosszu - http://drupal.org/user/267481

Code

function multiform_test1($form, $form_state) {
  $form['test1'] = array(
    '#type' => 'textfield',
    '#title' => 'test1',
  );
  $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',
    ),
  );
  return $form;
}