What validation rules can I use on the booking form?

Validation rules can be deployed to ensure you collect the highest quality data possible from your attendees. EventHQ comes with the following validation rules built in, but if you require other rules, please read our article on adding your own custom validation rules.

Pro tipYou can use combinations of validation rules, e.g. you can set a field as "required" and "email" to ensure attendees enter a valid email address

Required

If you set a field as required, then the attendee will not be able to complete their booking without entering something into the field. Fields with sub-fields have special interpretations of the required validation rule.

Name

For a required name field to pass validation, both first name and last name must be completed, but the optional title input can be left blank.

Address

For a required address field to pass validation, the street name, city and post/zip code fields must be completed

Email

If you apply the email validation rule to a field, then the field will only pass validation if it is either: (i) blank; or (ii) has a valid email address entered into it. To require attendees to submit a valid email address, then use this rule in combination with the required rule.

Number

If you apply the number validation rule to a field, then the field will only pass validation if it is either: (i) blank; or (ii) has valid number (with or without decimal places) entered into it. To require attendees to submit a valid number, then use this rule in combination with the required rule.

Date

If you apply the date validation rule to a field, then the field will only pass validation if it is either: (i) blank; or (ii) has valid date (which can be in the future or the past) entered into it. To require attendees to submit a valid date, then use this rule in combination with the required rule.

Still need help? Contact Us Contact Us