WordPress.org

Ready to get started?Download WordPress

Forums

Custom Contact Forms
How to validate phone numbers and/or simply just digits for phone num (3 posts)

  1. markifornia
    Member
    Posted 2 years ago #

    Custom contact forms has a built validation for fixed emails that is validated by default if the email string doesn't contain '@' or if they field is empty. Custom contact forms plugin also checks to see if the other fields are empty or not, which I think is awesome.

    However, there isn't a built in validation feature for other important fields like phone numbers.

    I would like to get in the code and make manual changes myself in validating phone numbers using regular expressions and php but can't find the correct file.

    If there is an easier way to add validation, any suggestions appreciated.

    Thanks,
    Mark

    http://wordpress.org/extend/plugins/custom-contact-forms/

  2. shariqueghazali
    Member
    Posted 2 years ago #

    I am also looking for the same thing, ie the phone no validation, if any one new that ,,pleas send us the reply

    or tell us that can we use contact form7 with two different field settings in a same website.

  3. UnniKris
    Member
    Posted 1 year ago #

    Still no updates on this issue.

    Much Needed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic