Aug 31st, 2009, 3:54 AM
It's a very basic form, so converting it from a POST form to an API form was a trivial matter.
In the case of it being a POST form, the CAPTCHA shows up onscreen as expected, but doesn't appear to process in any way (no matter what I put in it, including leaving it blank, the form still processes).
In the case of it being an API form, the CAPTCHA also shows up onscreen as expected, but this time it [does] appear to process correctly. However, in the case of me typing it in incorrectly or leaving it blank, the form just refreshes with a new CAPTCHA. No error code shows up (despite me including the <?=ft_api_display_post_form_captcha_error();?> in the appropriate place).
This second case (CAPTCHA works, processes, but doesn't print an error or anything) is the same thing that I ran into a few weeks ago when I initially started trying to implement CAPTCHA on a POST form.
Why the POST method didn't work properly [i]this[/] time around, I do not know. In all cases, I followed the tutorials in the documentation to the letter.
In the case of it being a POST form, the CAPTCHA shows up onscreen as expected, but doesn't appear to process in any way (no matter what I put in it, including leaving it blank, the form still processes).
In the case of it being an API form, the CAPTCHA also shows up onscreen as expected, but this time it [does] appear to process correctly. However, in the case of me typing it in incorrectly or leaving it blank, the form just refreshes with a new CAPTCHA. No error code shows up (despite me including the <?=ft_api_display_post_form_captcha_error();?> in the appropriate place).
This second case (CAPTCHA works, processes, but doesn't print an error or anything) is the same thing that I ran into a few weeks ago when I initially started trying to implement CAPTCHA on a POST form.
Why the POST method didn't work properly [i]this[/] time around, I do not know. In all cases, I followed the tutorials in the documentation to the letter.