add email description
This commit is contained in:
@@ -485,6 +485,9 @@ function booking_form($node, &$form_state, $inserting = FALSE)
|
|||||||
$form['contact-details']['booking_email'] = array(
|
$form['contact-details']['booking_email'] = array(
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('E-mail address'),
|
'#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,
|
'#maxlength' => 100,
|
||||||
'#required' => TRUE,
|
'#required' => TRUE,
|
||||||
'#default_value' => !empty($data->booking_email) ? $data->booking_email : ''
|
'#default_value' => !empty($data->booking_email) ? $data->booking_email : ''
|
||||||
|
Reference in New Issue
Block a user