0

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

$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'),
    ),
  );
4

0 回答 0