PHP显示复选框值

PHP显示复选框值,php,forms,drupal,checkbox,Php,Forms,Drupal,Checkbox,我正在用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

我正在用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'),
    ),
  );

其余的代码在哪里?您的意思是希望这些复选框在用户从选择列表(当前未显示在此处)中选择一个值后显示吗?以下是我用于输出使用textfield或textarea的所有其他字段的内容。我只是想弄清楚如何使用此选项/复选框区域来显示所选内容。$output.='13。谁将拥有已完成作品的版权
“.$form_state['values']['Question13']”

",;请在你的问题中提供完整的表格,否则我根本无法理解你的意思!下面是复选框的表单元素。