WordPress.org

Ready to get started?Download WordPress

Forums

Jquery Validation For Contact Form 7
phone number validation (4 posts)

  1. fruitpnch
    Member
    Posted 2 years ago #

    Am I misunderstanding something or the phone and date validation is really lacking? I put phone number in any of these formats: (xxx) xxx-xxxx or (xxx)xxx-xxxx and it wouldn't validate. On the other hand 123 works just fine. Same goes for the date validation: 39/24/999 is a valid date. ?!?!
    Please, help me understand how to use this plugin properly.

    http://wordpress.org/extend/plugins/jquery-validation-for-contact-form-7/

  2. Dinesh Karki
    Member
    Plugin Author

    Posted 2 years ago #

    Check the complete document of jquery validation here http://bassistance.de/jquery-plugins/jquery-plugin-validation/

  3. davejampole
    Member
    Posted 1 year ago #

    I just downloaded and activated this plugin for CF7. My question might seem simple and probably is, but I'm stuck on this point. When I open my form in design mode, what do I have to do to get the field validation selection rules to appear (under the 'Generate tag' selector) so that I can use them?

  4. davejampole
    Member
    Posted 1 year ago #

    Partially answered my own question. I go the field validation selection to display, but there is still an issue. I have Zip set as a text field. I want to set mask (ie, 9999-9999) to force numeric character input only, since there is no numeric field type, nor would I use it in this instance. Also, how about forcing upper case alpha characters ONLY for the State field?

    I saved the changes, went into the form, entered 'xxxxx' to test the validation - - and nothing. Seems to me that a format mask - NOT a watermark - should cause the form to catch the 'xxxxx' and pop an error message, but it doesn't.

    Any suggestions? Or am I missing what the Jquery validation is supposed to do?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic