[Plugin: Fast Secure Contact Form] Phone number validation problem
-
Hi,
First of all I really like that plug-in! It’s great.
Secondly, I’m having problem with phone number validation like “US format”. I want the validation with this format like “444-666-7776”. User shouldn’t be able to enter more digits in the phone text field. Like 10 digits for phone number and 2 dashes. I want minimum and maximum 12 digits.
Right now I am using “Validation regex: /^\d+$/” or “Validation regex: ^[2-9]\d{2}-\d{3}-\d{4}$” for phone validation ( US format “ 444-666-7776” ) but it is not working. Display the error message “Invalid input.”
Can anyone help me to solve this issue, I will appreciate that.
Thankshttps://www.ads-software.com/extend/plugins/si-contact-form/
- The topic ‘[Plugin: Fast Secure Contact Form] Phone number validation problem’ is closed to new replies.