The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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
    Posted 3 years 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!


    [text* someField id:myTextField class:myTextField]

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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic