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 validator not working

edited Dec 26, 2019 2:26PM in Visual Builder 2 comments

Summary

While using the validator It keeps saying Value '****' must match this pattern: ''. (where **** is my input value)

Content

Hi guys, I keep receiving this error while trying to use the regExp validator on the input text field. I tried different option in the validators.options field and It keeps telling me this: Value '****' must match this pattern: ''.

what I need is to only input letters OR numbers depending on what option I want.

What i tried literally: options: {pattern: '[a-zA-Z]{3,}'}, {"pattern": '[0-9]{3,}'}, {"pattern": '[a-zA-Z]{3,}'}

Can anyone help me on what to write on the validators.options field? Thank you!!

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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