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