Martyn Houghton Posted June 11, 2020 Share 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 Link to comment Share on other sites More sharing options...
Kelvin Posted June 11, 2020 Share 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 Link to comment Share on other sites More sharing options...
Martyn Houghton Posted June 11, 2020 Author Share Posted June 11, 2020 @Kelvin That did the trick. Thanks. Cheers Martyn Link to comment Share on other sites More sharing options...
HHH Posted August 17, 2020 Share 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. Link to comment Share on other sites More sharing options...
Martyn Houghton Posted August 24, 2020 Author Share Posted August 24, 2020 @HHH Thanks for the clarification. Cheers Martyn Link to comment Share on other sites More sharing options...
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