Skip to content

Model Class

validationInfo()

validationInfo() — returns struct

Available in: model Category: Miscellaneous Functions

Returns a struct containing all validation rules for this model, keyed by trigger (onSave, onCreate, onUpdate). Each trigger contains an array of validation rule structs with method, properties, message, and other parameters.