Use the pipe character (|) to separate multiple validation rules.
For rules with parameters, use a colon (:) followed by the parameter value.
Example: required|email|minLength:5
Note: Not all components support validation. Components like Form Section, Repeating Group, Info Display, and other structural/display components do not use validation rules.
required
- Field must not be emptyrequired:trim
- Field must not be empty (ignores whitespace)email
- Must be a valid email addressurl
- Must be a valid URLnumber
- Must be a valid numberminLength:5
- Minimum length of 5 charactersmaxLength:20
- Maximum length of 20 characterslength:5,20
- Length between 5 and 20 charactersmin:10
- Minimum value of 10 (for numbers)max:100
- Maximum value of 100 (for numbers)between:1,100
- Value between 1 and 100alpha
- Only alphabetical charactersalphanumeric
- Only letters and numbersalpha_spaces
- Only letters and spacescontains_lowercase
- Has at least one lowercase lettercontains_uppercase
- Has at least one uppercase lettercontains_numeric
- Has at least one numbercontains_symbol
- Has at least one symbolconfirm:password
- Must match the field named 'password'matches:/^[A-Z]+$/
- Must match the regex patternstarts_with:https://
- Must start with specific textends_with:.com
- Must end with specific textis:option1,option2
- Must be one of the listed valuesnot:admin,root
- Must not be one of the listed valuesdate_before:2023-12-31
- Date before specified datedate_after:2023-01-01
- Date after specified datedate_between:2023-01-01,2023-12-31
- Date in rangedate_format:YYYY-MM-DD
- Date in specific format*rule
- Force rule to run even if others fail+rule
- Run rule even when field is empty?rule
- Make rule optional (non-blocking)(200)rule
- Debounce rule by 200ms