How To: Check Telephone number validation

Mobile phone validation for Booking Wizard, Bulk Mailing and API requests.

The Phone number is validated on the below rule:

  1. Phone number must start with "0" or "44"
  2. It MUST then be followed by "7" and then any other number
  3. If starting with 0, maximum length is 11
  4. If starting with 44, maximum length is 12
    e.g. 07123456789 or 447123456789
  5. Any premium numbers, like the ones starting 070 are not allowed.