Hello everyone.
I need to change the RegExp on the registration page for users. The default format is 55 55 555 5555, but in my country is not valid. Our international format is (+55) 555 555 555 and the national format is 555 555 555 or 555-555-555.
Which is the file that I must to modify?.
Thanks for your help.
Solved!
I found the information I needed to look better in the forum.
I just had to edit two lines of the phone function in core.js:
var min_digits = 9;
[COLOR=“Red”]var max_digits = 12;[/COLOR]
and
return (jQuery.is.integer(s) && s.length >= min_digits [COLOR=“Red”]&& s.length <= max_digits[/COLOR]);