You are here

function certificate_field_grouping_add_form in Certificate 6.2

Same name and namespace in other branches
  1. 8.3 certificate.admin.inc \certificate_field_grouping_add_form()
  2. 6 certificate.admin.inc \certificate_field_grouping_add_form()
  3. 7.3 certificate.admin.inc \certificate_field_grouping_add_form()
  4. 7.2 certificate.admin.inc \certificate_field_grouping_add_form()
  5. 3.x certificate.admin.inc \certificate_field_grouping_add_form()
1 string reference to 'certificate_field_grouping_add_form'
certificate_menu in ./certificate.module
Implementation of hook_menu().

File

./certificate.admin.inc, line 343
Administrative pages for Certificate module.

Code

function certificate_field_grouping_add_form() {
  $form = array();
  $form['fieldgroup_name'] = array(
    '#title' => 'Machine name of field group',
    '#type' => 'textfield',
    '#required' => TRUE,
  );
  $form['fieldgroup_title'] = array(
    '#title' => 'Title of field group',
    '#type' => 'textfield',
    '#required' => TRUE,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => 'Create',
  );
  return $form;
}