Validation Logic


Introduction

Data integrity is crucial for the success of any event. Ensuring that the information collected during the registration process is accurate, complete, and reliable is essential. Validation plays a key role in achieving this by enforcing rules and constraints on the data entered by users. This document explains how validation helps maintain data integrity in event registration forms.

Importance of Data Integrity

  • Accurate Reporting: Ensuring that the collected data is accurate allows for precise reporting and analysis, helping organizers make informed decisions.
  • Enhanced User Experience: By guiding users to provide correct and complete information, validation reduces frustration and improves the overall registration experience.
  • Operational Efficiency: Reliable data minimizes the need for manual corrections and follow-up, streamlining the event management process.

Basic Validation Properties

Required Fields

To make a question required, just check the required checkbox

Unique Fields

To make a question unique, just check the unique checkbox. This will check if somebody else has already entered that value.

Setting Ranges

For both numeric and date fields, you can define minimum and maximum values to ensure that the input falls within a specified range. This is useful for fields like age, ticket quantity, etc.

Advanced Validation Properties

Conditional Required

In the Logic tab, you can specify the Required If condition. You can specify an expression, and only if it evaluates to true, the field will be set as required.

Refer to our Calculation Engine to see how to setup the expression.

Custom Validation

In the Validation tab you can create validators for the field. You can define two different type of validators:

  • Expression: Check our Calculation Engine for more information
  • Regex: You can define any kind of Regex expression.

A validator has to evaluate to true to allow the submission of a form.