Add validation on your first form

Validation identifies incomplete or invalid data before submission. For an individual field, add rules on the Rules tab.

Before you begin

Select the field

Tree with fullName selected, ready to add validation rules.Tree with fullName selected, ready to add validation rules.

  1. Open the Tree tab.
  2. Click Expand all if needed.
  3. Click the Text field you want to validate (for example fullName, labeled Full name on the canvas).

Open Rules

  1. On the right, click Rules.
  2. Review Auto Validate (validates as the user types).
Rules tab with Add a validation rule and Auto Validate.Rules tab with Add a validation rule and Auto Validate.

Add a validation rule

Add a validation rule picker open on Full name, with Non empty in the list.Add a validation rule picker open on Full name, with Non empty in the list.
  1. Click Add a validation rule.
  2. Choose Non empty or Required from the list.
  3. Adjust the rule message if the editor offers a Message field.

The exact rule names appear in a dropdown. Non empty means the field cannot be blank.

Test in Preview

Preview after Validate, showing required errors on Full name and Email address.Preview after Validate, showing required errors on Full name and Email address.
  1. Click Preview in the header.
  2. Leave the field empty and trigger validation (tab out or use Validate in the left panel).
  3. Confirm an error message appears.
  4. Click Edit to continue designing.

Check the result

  • The field shows as required on the canvas (often an asterisk).
  • Preview displays an error when the rule fails.

Summary

Select a field → RulesAdd a validation rule. Non empty and required rules mark blank values as invalid. Preview shows the message users will see.

See also