Ralf Peters Posted May 19, 2016 Posted May 19, 2016 Hi , I am trying to set up a custom form in our progessive capture and having issues with the regex validation . I am trying to capture a phonenumber and only allow 11 digits as input. i tried this syntax REGEX_MATCH(Phonenumber,'[0-9]{11}') but it does not work , i always get a <false> i have attached a screeshot of the field settings . Any idea where I am going wrong ? Thanks Ralf
TrevorKillick Posted May 19, 2016 Posted May 19, 2016 Hi Ralf I tried the following and it seams to work? Kind Regards Trevor Killick
Ralf Peters Posted May 19, 2016 Author Posted May 19, 2016 Hi Trevor , thanks for the reply almost there , when i test it requires at least 11 digits , but then accept anything after that, any way to just restrict it to 11 ? Thanks Ralf
TrevorKillick Posted May 19, 2016 Posted May 19, 2016 Thanks Steve It does require the ^ and $ Just tested and it exactly matches 11 numbers with those additional characters. Regards Trevor
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