quiz_master_next icon indicating copy to clipboard operation
quiz_master_next copied to clipboard

Captcha issue with browser "back" button, in Chrome browser

Open philbuh opened this issue 9 years ago • 2 comments

If you have a Captcha on your quiz, the correct value is submitted as a hidden field in the form. OK.

If a user hits their browser's "back" button in Chrome to display a previously-displayed quiz, the image of the Captcha to be entered is regenerated but the hidden field is not updated.

As the default behaviour for a failed Captcha is to print "thank you" & not record the results, this could lead to valid attempts to submit a result being ignored.

philbuh avatar Oct 18 '15 13:10 philbuh

Tested on Windows 10.

If you try the same in Firefox v43 or IE 11 then the Captcha does not refresh, either the image displayed or the hidden field - so is consistent and well-behaved.

philbuh avatar Oct 18 '15 13:10 philbuh

Hmm....interesting. Thanks for reporting this. I'll take a look at this shortly. I have been wanting to re-write the captcha anyways so this is a good reason to do it now. :smile:

fpcorso avatar Oct 19 '15 18:10 fpcorso