You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

regExp in Visual Builder

edited Jun 7, 2019 5:43PM in Visual Builder 12 comments

Summary

Attempting to Implement Pattern Match

Content

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!