gform-react

Classes

The classes gform-react exports - GValidator, the chainable builder for a field's constraint messages and custom/async rules.

Validation rules are built with a class. GValidator is a chainable builder you compose once at module level and pass to GForm via the validators object:

For the validation patterns themselves, see Constraint Validation, Custom Validation, and Async Validation.