Closed bencarrr closed 5 years ago
I've noticed the same issue in a multiple forms modal where I had three forms. The solution that I tested and works is to change the id=""
to class=""
on the div
and the inputs
. This way the honeypot works as supposed and the HTML validation passes.
@Benjyclay @mariopro this is fixed in the newest version of the package. Thanks for your reports!
I have two of exactly the same forms on a page, which both include the same
Honeypot::generate()
method. When doing an HTML validity check (https://validator.w3.org) It says there are duplicate ids on the containing div..._wrap
.