regExp in Visual Builder
Summary
Attempting to Implement Pattern MatchContent
Hello,
I need some guidance on how to best go about validating a field for a particular pattern.
I've tried implementing the Jet Cookbook approach but cannot import the RegExpValidatorFactory. I wanted to use the validator property on the field and I figured this was the way to go about it.
I also checked out creating a regExp validator on the business object but the compile method is not allowed on the server.
The pattern I am implementing is simple but how to get it into Visual Builder is the problem. If someone can point me in the right direction (e.g., how to import the regExp validation factory) that would be great.
Tagged:
0