Image refresh
Opened this issue · 3 comments
GoogleCodeExporter commented
I would be nice if django-simple-captcha would support some kind of means
for refreshing the image/generating a new one, in case the user has a
difficulty in reading the current one. This could be implemented in two
ways: first a refresh button next to the image, second if after the submit
the validation fails automatically generate a new captcha.
Original issue reported on code.google.com by daniel.d...@gmail.com
on 20 Apr 2010 at 2:43
GoogleCodeExporter commented
Daniel, thank you for your feedback.
Having a refresh option has always been somewhere on my personal todo list, so
I'll definitely give this a
thought.
Concerning the two options you describe, isn't the second one already
implemented, i.e. if the user submits
the form without a valid captcha, a new one is generated, isn't it?
The first option is a bit more complex, because we would need to fetch a new
image via AJAX (because we
don't want to submit the form and pass through Django's form validation
procedure). Ajax would be pretty
straightforward if we used a javascript framework like e.g. jQuery, but there
is no way of knowing if one is
being used by the client or not.
Anyway, I'll give this a thought, any patch or suggestion welcome.
Original comment by social.e...@gmail.com
on 20 Apr 2010 at 7:36
GoogleCodeExporter commented
You're right, that second suggestion of mine is already implemented.
Original comment by daniel.d...@gmail.com
on 20 Apr 2010 at 8:40
GoogleCodeExporter commented
Sorry, but how it's implemented (suggestion about AJAX)?
Original comment by dashkov...@gmail.com
on 7 May 2010 at 9:23