I've a view with an exposed auto submit filter. When a anonymous user goes to the page he get following error:
There was a problem with your form submission. Please wait 5 seconds and try again.
Should we disable Honeypot on views exposed filters?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | honeypot-views-exposed-filter-exception-1498940-1.patch | 800 bytes | yannickoo |
Comments
Comment #1
yannickooPatch is attached.
Comment #2
yannickooComment #3
geerlingguy commentedPatch looks good to me.
Comment #4
geerlingguy commentedCommited to D7: http://drupalcode.org/project/honeypot.git/commit/4fc33a6
...and to D6: http://drupalcode.org/project/honeypot.git/commit/6c6cfdb
It should be in the -dev package tonight; I'll roll it into 7.x-1.12, whenever there are a few more features/issues resolved.
Comment #6
urlM commentedCan anyone please recommend a way I can get form protection to work on exposed view filters?
I'm trying to protect a views_exposed_form from spam with honeypot, but am runnning into the same issue of "There was a problem with your form submission. Please wait 5 seconds and try again." The message appears right when the page loads and the form hasn't even been submitted yet. And every time the page is refreshed the number of seconds to wait multiplies. I am using a page view with a views attachment with ajax enabled in those views. I've been adding the honeypot_add_form_protection in a views_form_alter within my template.php. It works fine with just the hidden text field, but the time restriction is what I really need. Any help would be greatly appreciated.
Comment #7
geerlingguy commented@urlM - can you open a new issue for this, as a support request? I might have time to look at it and see if I can replicate the problem.
Comment #8
urlM commentedThanks @gerrlingguy!
The new support request is now at https://drupal.org/node/2049563