Anchor to AutomationMatchesPatternValidationAutomation
objectAutomation Matches Pattern Validation
Requires access scope.
A JavaScript regular expression rule with editor flags.
Anchor to FieldsFields
- errorMessage (String!)
- flags (String)
- pattern (String!)
- subfield (String)
- Anchor to errorMessageerror•String!
Message non-null The message shown when validation fails.
- Anchor to flagsflags•String
The flags for the JavaScript regular expression.
- Anchor to patternpattern•String!non-null
The JavaScript regular expression pattern used by the editor.
- Anchor to subfieldsubfield•String
The part of a composite value this rule checks. Null when it checks the whole value.
Was this section helpful?