safius Posted April 20, 2016 Share Posted April 20, 2016 I want to use a different phone validation regex, since the built-in one allows even single-digit numbers. I marked my input with `data-validate="isPhoneNumber"` and modified the `isPhoneNumber` function in validate.js, but the [X] or [tick] sign on the input field is still assigned according to the original regex. Is this functionality overridden somewhere else? Is it validated on the back-end via AJAX? 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