WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] BUG: If field has same id as its name in CF7, valid tip's "each" not called! (1 post)

  1. donrhummy
    Member
    Posted 1 year ago #

    If you create a field like this:

    [text* myTextField id:myTextField]

    Then validation tips never show up. Notice the "id" field has the same name as the name of the field in CF7's database. This causes a problem where the javascript function "$.fn.wpcf7NotValidTip" (which does get called) never runs the "this.each" for that field!

    Another related error:

    if the class and id are the same, it also does not validate!

    Example:

    [text* someField id:myTextField class:myTextField]

    Both of these are valid HTML, so they should work.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic