Validation
This is the official documentation of the forestadmin/laravel-forestadmin
v2+ and forestadmin/symfony-forestadmin
PHP agents.
Columns of type
VARCHAR(15)
will automatically carry aless than 15 chars
validator.Non-nullable columns will automatically carry a
Present
validator.
However, you may want to enforce stricter restrictions than the ones which are implemented in your data source.
Adding validation rules
The list of operators (Present
, LongerThan
, ...) which can be used when adding validators is the same as the filter operators.
Last updated