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?

melat0nin
 
melat0nin replied on at Permalink Reply
melat0nin
Anyone have any thoughts?

You can see the problem in the scrapbook if you add >1 form - they'll all have the same captcha when the page loads.
melat0nin replied on at Permalink Reply
melat0nin
I've got round the problem by using the page redirect upon successful submission. It's not a terribly elegant solution, but it works.