LiveValidationFormat Macro
Validates that XObject property value against a regular expression.
Usage
Param | Description |
---|---|
form | Unique ID of the form html element that contains the validated field (Optional, default to inline). |
property | Property reference of the field to be validated. |
pattern | A regular expression pattern in Javascript syntax. |
failureMessage | Message to be used upon validation failure. |
Examples
Add the following lines to MyApp.MyAppSheet.
{{livevalidationEmail property='MyApp.MyAppClass[0].myprop' pattern="/^[A-Z]*$/" failureMessage='myprop should be all uppercases.' /}}