wordpresscontact-form-7

How to make mobile number validation in contact form 7?


How to create custom mobile number validation in Wordpress contact form 7 plugin is it possible please help me. Actually i want to only valid mobile number is allowed this field not taken any other character for ex- 9708644571


Solution

  • To use the phone number validation , you need to put the number field as per example given below.

    [number* your-number min:9 max:10 step:3 class:required "40"]
    

    Reference link : CF7