Skip to end of metadata
Go to start of metadata


Dates, email address and phone number fields can be validated, to improve the accuracy of responses and reduce incomplete information being provided by attendees. This is also of benefit for cases where registration data is exported, and then imported into a Customer Relationship Management (CRM) service which has import restrictions on incomplete emails/phone numbers and/or formatting.

Invalid phone numbers, dates and emails will be marked red on the registration form, and will prevent submission of the form. This includes non-compulsory form fields with partial (not blank) answers. To submit the form in this case, either finish or remove the answer. Required fields must always have a valid answer before submission.

Event organizers are encouraged to use date and phone number validation, as it will ensure that required fields do not have incomplete or invalid information, improving the reliability and accuracy of your registration information. This feature is available in Events Registration version 2.

Inserting date, email, phone fields

1

In the Page Builder, drag a Question onto the builder area (right portion of screen)

2

Click the drop-down at Question type and select the type from the list

See details below for validation settings.

Field validation details

Date validation

no date validation applied

date validation applied

To validate dates, use a question with the following properties:

Question type
Single line text
Input type
date

By setting this input type, the contact filling out the registration form will be given the ability to fill out the date using a date picker. The contact may still fill out the date by typing an answer.

There is also an optional "Validation" tab when configuring a question of Input type Date. In that tab, an Event Organizer may specify an optional Start and End date. If First possible date is specified, then the contact filling out the registration may not enter a date before that date, and Last possible date will disallow dates that happen after that day.



Screenshot: left shows the web form with calendar  attendees can use to select the correct date - 24 to 30 June are shown as available dates, others shown in light grey are unavailable; right shows the Validation settings used in the page builder.

Only the filled in fields will apply, so if attendees are to enter a date after 15 January 2020, set the First possible date to 15/01/2020 and leave Last possible date empty.

Screenshot: left shows the web form with calendar attendees can use to select the correct date (note that the dates 01 to 08 February cannot be selected on the above screenshot, the user would click the > button to move to February 2020); right shows the Validation settings used in the page builder.

Date restriction

Dates entered in the Validation tab require two digits each for the day and month. Dates entered by attendees in the web form don't require any leading zero's (0), but if a user enters them, they will be removed when they click outside the field.

In the registration form, the date picker will not allow the contact to select dates outside the specified boundaries, and if an invalid date is selected, a helpful error message will appear, telling the contact what range of dates is allowed, and what format is expected.

Email validation

Attendee and primary contacts have emails validated by default. To validate a question as an email, set the following values:

Question type
Single line text
Input type
email

Phone number validation

To validate phone numbers, set the following values for a question:

Question type
Single line text
Input type
phone

By setting this input type, the contact filling out the registration form will be given a field which allows selection of a country code, allowing for the contact to enter in their phone number with ease.

The number can be entered in two ways:

  1. Select country code from drop-down (click on the flag icon), and type the number as it would be entered into a local phone: e.g. "0404123456"
  2. Specify country code in text box: e.g. "+61404123456" - the country code in the drop-down will update automatically when the phone number is entered this way.


Note

When using conditional visibility with phone numbers, the value to test for will always have the country code. e.g. if the selected country flag is AU, and the number that is entered is 0404123456, the value of the field according to conditional visibility rules will actually be +61404123456, which also will be the value that is shown on the Reports, e.g. Registration Data Export report.


No validation

Just use an ordinary text field,

Question type
Single line text
Input type
text

Length restrictions still apply, and there will not be an icon depicting what type of answer is expected.