Home > drupal

drupal 6 basic form , create form in drupal

drupal 6 basic form <?php function test_myform($form_state) { // Access log settings: $options = array('1' => t('Enabled'), '0' => t('Disabled')); $form['access'] = array( '#type' => 'fieldset', '#title' => t('Access log settings'), '#tree' => TRUE, ); $form['access']['log'] = array( '#type' => 'radios', '#title' => t('Log'), '#default_value' => variable_get('log', 0), '#options' => $options,

Read More