I've tested this with both an integer and a date field. After adding two or more items, answering the CAPTCHA produces an incorrect answer on the first attempt, CAPTCHA then reloads and then works as expected. To reproduce, add a field with unlimited number of entries, add a CAPTCHA test (math in my case) and allow anonymous users to edit/add the content type. Other bits:
- CAPTCHA 6.x-2.3, Drupal 6.20, PHP 5.2.10-2ubuntu6, jQuery UI 1.7.3, jQuery Update 1.3.2
- Caching Mode: Normal
- Prior to hitting Add Another, I have answered the CAPTCHA question with no change in outcome
- Associated error message indicates the solution was "undefined" when in fact it was "2":
car_node_form post blocked by CAPTCHA module: challenge "Math" (by module "captcha"), user answered "2", but the solution was "undefined".
Comments
Comment #1
kbk CreditAttribution: kbk commentedProblem present on 6.x-2.x-dev as well.
Potentially related issue #995260: CAPTCHA bypass with "undefined"
Comment #2
soxofaan CreditAttribution: soxofaan commentedI assume you are talking about a custom node type with a field that can have an unlimited number of entries. Is that correct?
Anyway: "add another item" is done with AJAX so this is a duplicate of: #918856: CAPTCHA Session Reuse message on webforms
Comment #3
kbk CreditAttribution: kbk commentedYour assumptions are correct, good sir. Thanks for the quick response.