You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We also have the ability to validate a target object or form with shared constraints from our configuration file. Just use the name of the key in the configuration form as the name of the constraints argument.
// validate user objectprc.results=validateModel(target=user,constraints="sharedUser");// validate incoming form elements in the RC or request collectionprc.results=validateModel(target=rc,constraints="sharedUser");
This will validate the object and rc using the sharedUser constraints.