How it would be disappointed if you received an order but cannot contact the customer with the phone number? How to avoid customers entering wrong phone number? With the following steps you may do gravity form phone number validation easily.
With our plugin BSK Forms Validation you may create a custom validation list with the following rules.
Example 1, limit phone number field length, start with
1. Add the rule of "Must be given value" with value [0-9] to limit phone number filed only accepts numbers.
2. Add the rule of "Length must same as given number" to limit the phone number field length must be 10.
3. Add the rule of "The character at the position X must be" to limit the phone number must star with 9.
* The validation message can be customized.
And then apply the custom validation to the phone number field in gravity forms editing screen.
Try phone number validation in gravity forms >>
Example 2, limit phone number field length, and specific area
1. Add the rule of "Must be given value" with value [0-9] to limit phone number filed only accepts numbers.
2. Add the rule of "Length must same as given number" to limit the phone number field length must be 11.
3. Add the rule of "Must be numeric value and between given values" to limit the phone number must between 94588700000 and 94588709999
* The validation message can be customized.
The total rules for this example as the following:
Try gravity form phone number validation in specific area >>