<cfset result = "#deserializeJSON(StructFind(variables.captchaResult, 'FileContent'))#">
<cfif result.success is "false">
<cflocation addtoken="no" URL="/">
...start processing the submission.
where zzzzzzzz is the secret key provided by Google.
First I intentionally submit the form without responding to the captcha. I dump the variable captchaResult (a structure). Its 'FileContent' key is a JSON string, and in that string, 'Success' is 'false'. This submission redirects to the site's home page -- exactly as desired.
Next I submit the form correctly, including responding to the captcha. Dumping captchaResult and then aborting, I see that 'Success' is 'true'. In other words, Google is definitely passing this submission.
So now I reload everything and resubmit correctly, including responding to the captcha. ColdFusion replies with this on my target page:
Element G is undefined in FORM.
The error occurred on line 1.
What the #$% is going on?? Any suggestions will be gratefully and humbly accepted.
Message was edited by: Jordan Backler Forgot to include that I am using CF 10