Using Drupal 7.21, I have a multi-step webform on my homepage. There are three total steps:
step 1: enter basic info such as first/last name, email address (all mandatory)
step 2: enter address, city, state, and a few opt-in questions. (mostly mandatory)
step 3: enter general info, non-mandatory select questions. (none mandatory)

I have cleared out all results. When I try to advance past page 2 as anonymous user, the BOTCHA module is consistently blocking me in Safari. I cannot advance past page 2. It wipes out everything I've entered in step 1. "These fields are required", even though I just filled them out. I am not using webform AJAX. "Please enable JavaScript to use this form". It's enabled. I made sure to take at least 20 seconds on step 1 and step 2.

This is extremely frustrating. Does this module work with webforms that have "page break" components? What is going on here?

Another weird thing. Sometimes the /admin/config/people/botcha menu selection disappears entirely (i.e., when I disable CAPTCHA module). And I can no longer configure the BOTCHA settings. This thing does not appear to be stable enough to handle anonymous form submissions in a production environment... without disallowing humans from rightly registering. Please enlighten me, as having no CAPTCHA on the form was the original goal.

Thanks in advance!

Comments

iva2k’s picture

Title: Completely disallowing form submission, every time » Multipart Webforms - Botcha disallowing step 2 form submission, every time
Status: Active » Postponed (maintainer needs more info)

Please don't lump different issues into one post. It is extremely hard to track. I will ignore the second part and respond only to the first part of the posting.
Webforms should work ok - see #1870956: not compatible with webforms .
However multipart webforms may be an issue. Did you try to disable Botcha on that form to see if the submission will pass? If so, then it makes sense to protect with Botcha only the first step of multipart (I am not too familiar with multipart webforms and don't know if it's possible).

hughworm’s picture

Webforms work fine. It's multi-pag webforms that don't. The reason seems to be BOTCHA is disabing the form cache in botcha.recipebook.controller.inc.

  public function apply(&$form, &$form_state) {
    ...
    $form_state['no_cache'] = TRUE;

This prevents the form maintaining stage between pages using $form_state['storage']. I'm not sure of the reason for disabling cache - could it be acheived some other way?

iva2k’s picture

Cache is disabled because each form has to be built unique. It was copied from Captcha in 6.x some time ago. Now I've seen how Mollom did it differently, without cache disabling. I'd like to make this change, but have no bandwidth to work on it now. I will always review patches though.

bdoane-1’s picture

I am also having this issue.

heyyo’s picture

Any update on this issue ?

heyyo’s picture

Version: 7.x-3.2 » 7.x-3.3
Issue summary: View changes
Jim Bacon’s picture

Probably another example of this issue. If you

  • require preview before node or comment submission
  • enable botcha

it is impossible to save the node or comment.

Note ObscureURL is disabled so this is not related to https://www.drupal.org/node/1958222