On 24/08/2010 10:24, Ben Noordhuis wrote:
On Tue, Aug 24, 2010 at 11:11, Martin Townsend
<martin.towns...@power-oasis.com> wrote:
I'm trying to add a captcha feature to our custom module. How should I
handle the returned captcha code in the POST data. I currently have an
input filter for processing other POST data but if I use this how do I
redirect to the captcha.shtml page if validation fails. If I validate the
code in an earlier phase like the fixups how do I read the POST data? Does
anyone know the best way to handle this. I'm using v2.2-3.
Martin, can't your filter set a request note that one of your hooks
further down the line picks up?
Hi Ben,
Do you mean setting a request note from the input filter that an output
filter picks up which can then output the captcha.shtml?
Regards,
Martin.