function validate_submission(&$errors, $data) {
if (validate_email_address($errors, $data['email_address'])) {
if (!record_exists('members', simple_where('email_address', $data['email_address'])))
- $errors[] = 'Please enter the email address you used to sign up for membership.';
+ $errors[] = 'Please enter the email address you used to sign up for membership. '
+ . 'If you have forgotten this email address, please contact us at events@ycra.org.uk so we can assist you.';
}
if (empty($data['consent']) && !array_key_exists('confirm', $data))
$errors[] = 'You must give your consent for us to process your data.';