Field Validation
Field Validation
Validation ensures that data entered into a form is complete, accurate, and formatted correctly. Each field can be configured with validation rules.
How to Add Validation
- Open your form in the Form Editor.
- Select the field you want to validate.
- Go to the Validation tab in the field settings.
- Configure the rules you want to apply.
Common Validation Options
Required: Ensures the field cannot be left blank.
Minimum / Maximum Length: Set character limits (useful for text fields).
Minimum / Maximum Value: Set numeric limits (useful for number or currency fields).
Regular Expressions (Regex): Enforce specific formats (e.g., postal codes, custom IDs).
Email Validation: Ensures input matches a valid email format.
Phone Validation: Ensures input matches a valid phone number pattern.
Custom Validation: Write JavaScript-based validation for advanced rules. Example (require a value greater than 18):

Best Practices
- Use basic required fields for must-have data.
- Use regex or custom validation for compliance needs.
- Keep rules as simple as possible to avoid frustrating users.