update medical conditions field
This commit is contained in:
@@ -850,7 +850,9 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
|
|||||||
if (variable_get('booking_enable_medcond', 0) == 1) {
|
if (variable_get('booking_enable_medcond', 0) == 1) {
|
||||||
$form['misc-areas']['booking_medical_conditions'] = array(
|
$form['misc-areas']['booking_medical_conditions'] = array(
|
||||||
'#type' => 'textarea',
|
'#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,
|
'#cols' => 60,
|
||||||
'#rows' => 5,
|
'#rows' => 5,
|
||||||
'#resizable' => FALSE,
|
'#resizable' => FALSE,
|
||||||
@@ -872,7 +874,7 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
|
|||||||
else {
|
else {
|
||||||
$form['misc-areas']['booking_medical_conditions'] = array(
|
$form['misc-areas']['booking_medical_conditions'] = array(
|
||||||
'#type' => 'container',
|
'#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(
|
'#states' => array(
|
||||||
'visible' => array(
|
'visible' => array(
|
||||||
':input[name="booking_medical_conditions_check"]' => array(
|
':input[name="booking_medical_conditions_check"]' => array(
|
||||||
|
Reference in New Issue
Block a user