PHP显示CheckBox值

时间:2013-08-15 20:05:52

标签: php forms drupal checkbox

我正在使用Drupal 6中的表单。我有一个复选框值,我需要在用户选择提交后显示该值。所有其他字段都填充在屏幕上但是这个字段。这是我的checkBox代码:

$form['Questions']['Question3'] = array(
    '#description' => t('Please specify what departments you have been in contact with, if any.'),
    '#title' => t('3. Have you been in contact with other departments about this project?'),
    '#type' => 'checkboxes',

    '#options' => array(
      'Archival'=>t('Yes, I have requested archival materials'),
      'Conducting'=>t('Yes, I have been conducting research with'),
    ),
  );

0 个答案:

没有答案