Jump to content

Trying to restrict length of string with RegEx


Recommended Posts

I am trying to use RegEx validation to restrict the length of a field to 30 characters, but having issues with the RegEx criteria.

^.{1,30}

Testing it in the Progressive Capture Editor and in submitting a request, it is not stopping the user from entering more than 30 characters.

image.png.7b671cf100b2637cddfbccd2b4ce3215.png

Anyone can clarify where I going wrong with the RegEx expression?

Cheers

Martyn

 

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...