Validating data received from your Customers

In some cases, you need to validate the type of data input provided by your Customer. For example, you might be asking customers for their date of birth and want to make sure they use a valid date format. By validating the data input, your customers will be forced to use the correct format for the type of information they’re providing.

The solution is to place a lead generation form in front of the Booking page that will act as a gatekeeper. The form can force customers to provide the correct data format before passing the data to ScheduleOnce.

Most third-party forms and custom forms can provide this kind of data validation. Firstly, you should make sure you’re using Web form integration and that your lead generation form provides this functionality.

We will demonstrate a solution by using Wufoo forms. First, make sure you have integrated ScheduleOnce with your Wufoo form using URL parameters.

In this example, your Wufoo form will act as the gatekeeper and will collect dates of birth using a valid date format. It should also use the Customer name and email fields, passing their content to ScheduleOnce using Wufoo’s templating feature.

Validate the date of birth field on your Booking form

  1. Edit the Wufoo form and navigate to the Add field panel.
  2. Select the Date field and add it to your form.
  3. Note the field now includes a date picker. The same concept can be used to validate other types of data.
  4. Use Web form integration to pass the data from Wufoo to ScheduleOnce.

Your Wufoo form is now configured to validate the Booking form data. You should use one of the Wufoo sharing options to invite your customers to schedule. Don’t share the ScheduleOnce Booking page directly, as this will bypass the additional logic applied on the Wufoo form step.

Was this article helpful?
Thank you for your feedback!