• Resolved Will

    (@willage)


    First of all, this is great plugin which I use on all my WordPress contact forms.

    The current issue is that when using the honeypot on more than one form on a page, the input ID generated is the same for every instance (email-wpcf7-hp). I’d like to see a way to generate a unique ID for the honeypot so that it won’t cause html errors with multiple IDs on the same page. Is there a way to do this?

    https://www.ads-software.com/plugins/contact-form-7-honeypot/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ryan

    (@daobydesign)

    Hey willage, thanks for bringing that to my attention. There really shouldn’t be an ID in there at all.

    I’ve just updated the plugin (v1.3) to be more respectful of using both the user-defined name for the element’s identification as well as moving that from an ID attribute to a CLASS attribute.

    Please let me know if that sorts things out for you, and if so, please mark the topic resolved. Cheers.

    Thread Starter Will

    (@willage)

    Thanks Ryan, works great!

    Thread Starter Will

    (@willage)

    Hi Ryan,

    I actually just noticed that this fix created another error. The “for” attribute on the label needs to be associated with an ID on an input. Since there is no longer an ID, the label is invalid.

    Thanks again for looking into this.

    Will

    Ryan

    (@daobydesign)

    Hi Will, try the latest version, it should correct this.

    Thread Starter Will

    (@willage)

    Great, thanks again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple honeypots on the same page – Error’ is closed to new replies.