neverforget98 Posted February 20, 2014 Share Posted February 20, 2014 Hey everyone! So we're upping the "security features" to protect our clients, and one of the features we are trying to add via the Custom Client Fields is the Security PIN. I'm trying to use a text box for this 4-6 digit security PIN. The validation I'm trying to use is [0-9]{4,6} and for some reason it just will not work. Whenever you try to put four, five or six digits in the box on the order form, it returns an error saying that the value is invalid. Please help! Thanks. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 20, 2014 Share Posted February 20, 2014 with whmcs, you start and end it with slashes, so perhaps.... /^[0-9]{4,6}$/ 0 Quote Link to comment Share on other sites More sharing options...
neverforget98 Posted February 23, 2014 Author Share Posted February 23, 2014 You're a life saver! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.