update medical conditions field

This commit is contained in:
2017-08-29 08:02:05 +10:00
parent 23ff234bae
commit 31b98fb623

View File

@@ -850,7 +850,9 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
if (variable_get('booking_enable_medcond', 0) == 1) {
$form['misc-areas']['booking_medical_conditions'] = array(
'#type' => 'textarea',
'#title' => t('Please list any medical conditions we need to be aware of. For allegies, please list the reaction to the allergen(s).'),
'#title' => 'Medical Conditions',
'#description' => t("Please list any allergies you have, including your reaction to the allergen/s.<br />" .
"Please list any medical conditions you have.<br />All responses will be kept confidential."),
'#cols' => 60,
'#rows' => 5,
'#resizable' => FALSE,
@@ -872,7 +874,7 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
else {
$form['misc-areas']['booking_medical_conditions'] = array(
'#type' => 'container',
'#children' => variable_get('booking_medcond_text_definition', "Please contact us to specify your dietary requirements."),
'#children' => variable_get('booking_medcond_text_definition', "Please contact us to specify your medical conditions."),
'#states' => array(
'visible' => array(
':input[name="booking_medical_conditions_check"]' => array(