Two forms on a page - all using same captcha - problem submitting more than one form
Permalink
Hi all
I'm trying to put two forms on a page, both with captchas. A problem arises because the captcha is generated on page load, so when one form is submitted (via AJAX), the system's captcha code changes, but the image on the other form doesn't update - so if the user then tries to submit that form, they always get the captcha wrong.
Any ideas on how to get around this?
I'm trying to put two forms on a page, both with captchas. A problem arises because the captcha is generated on page load, so when one form is submitted (via AJAX), the system's captcha code changes, but the image on the other form doesn't update - so if the user then tries to submit that form, they always get the captcha wrong.
Any ideas on how to get around this?
You can see the problem in the scrapbook if you add >1 form - they'll all have the same captcha when the page loads.