add email description

This commit is contained in:
Nathan Coad
2019-09-15 07:20:53 +10:00
parent a0397fba7e
commit 7eb77b042f

View File

@@ -485,6 +485,9 @@ function booking_form($node, &$form_state, $inserting = FALSE)
$form['contact-details']['booking_email'] = array(
'#type' => 'textfield',
'#title' => t('E-mail address'),
'#description' => t('Please note that we will use this email address to contact you with important information about !event.', array(
'!event' => $event->booking_eventname
)),
'#maxlength' => 100,
'#required' => TRUE,
'#default_value' => !empty($data->booking_email) ? $data->booking_email : ''