Validation#
Field and form validation. A ValidationRule checks a value and reports a
ValidationResult — the building blocks behind a field’s rules= and
Form.validate().
For a task-oriented introduction — built-in rules, triggers, custom rules, whole-form validation — see the Validation guide.
A single validation rule that can be applied to a string value. |
|
The outcome of a single validation check. |
Rule types#
The rule names accepted by ValidationRule and a field’s
add_validation_rule.
- type bootstack.validation.RuleType#
A built-in validation rule name —
'required','email','pattern','stringLength','custom','compare'.