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?

Comments

yannickoo’s picture

Patch is attached.

yannickoo’s picture

Version: 7.x-1.11 » 7.x-1.x-dev
Status: Active » Needs review
geerlingguy’s picture

Status: Needs review » Reviewed & tested by the community

Patch looks good to me.

geerlingguy’s picture

Status: Reviewed & tested by the community » Fixed

Commited 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

urlM’s picture

Can 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.

geerlingguy’s picture

@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.

urlM’s picture

Thanks @gerrlingguy!

The new support request is now at https://drupal.org/node/2049563