From 7eb77b042fb4643c2e8f605b8132c577876d4cb1 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sun, 15 Sep 2019 07:20:53 +1000 Subject: [PATCH] add email description --- booking.regn_form.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/booking.regn_form.inc b/booking.regn_form.inc index 3cd188e..95cbc2c 100644 --- a/booking.regn_form.inc +++ b/booking.regn_form.inc @@ -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 : ''