Validation sets
The validation-set page at /admin/validation/sets/new creates or updates a
reusable set through UpsertValidationSet. A set groups existing reusable
rules in order, so a whole set can be applied to a column in one call.
The form
Section titled “The form”name— the set’s name (required);description— optional;global_rules— a comma-separated list of reusable rule names, in order.
At least one rule name is required. The position of each rule in the list is its order in the set, preserved when the set is applied.
Applying a set
Section titled “Applying a set”A set is applied from the field-validation page: enter the set’s name in
validation_set_name together with the profile, table, and column, and the
submission calls ApplyValidationSet instead of saving a single validation.