Martyn Houghton Posted June 11, 2020 Posted June 11, 2020 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. Anyone can clarify where I going wrong with the RegEx expression? Cheers Martyn
Kelvin Posted June 11, 2020 Posted June 11, 2020 @Martyn Houghton In one of our form we use ^.{1,30}$ I am not sure what the $ does but it then seems to work 1
Martyn Houghton Posted June 11, 2020 Author Posted June 11, 2020 @Kelvin That did the trick. Thanks. Cheers Martyn
HHH Posted August 17, 2020 Posted August 17, 2020 On 6/11/2020 at 2:00 PM, Kelvin said: @Martyn Houghton In one of our form we use ^.{1,30}$ I am not sure what the $ does but it then seems to work $ is end of line.
Martyn Houghton Posted August 24, 2020 Author Posted August 24, 2020 @HHH Thanks for the clarification. Cheers Martyn
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now