tweaks
This commit is contained in:
@@ -1218,7 +1218,7 @@ function booking_form_validate($form, &$form_state) {
|
||||
//validate guardian phone number
|
||||
if ($data['booking_country'] == 'Australia') {
|
||||
if (!_valid_australian_mobile_number($data['booking_guardian_phone'])) {
|
||||
form_set_error('booking_guardian_phone', t('You have entered an invalid contact phone number for your emergency contact.'));
|
||||
form_set_error('booking_guardian_phone', t('You have entered an invalid contact phone number for your emergency contact. Please enter a mobile phone number.'));
|
||||
}
|
||||
} else {
|
||||
if (!_valid_phone_number($data['booking_guardian_phone'])) {
|
||||
|
Reference in New Issue
Block a user