reCAPTCHA is not working with Coldfusion form

133 views
Skip to first unread message

jaredwilli

unread,
Jul 27, 2009, 2:20:28 PM7/27/09
to reCAPTCHA
Just implemented reCaptcha on a CF form I am making that emails the
form values. The reCaptcha displays and appears to be working, and the
form submits, but now I'm noticing that it submits whether or not a
word is typed in the Captcha field.

I have tried to dump the FORM.recaptcha variables out on the submitted
page, and I get an error message.

Element RECAPTCHA is undefined in FORM.

Any help would be really appreciated.

Here is a peice of my form code:

<cfform action="#CGI.SCRIPT_NAME#?#CGI.QUERY_STRING#" method="post">
<cfinput name="subject" type="text" required="yes" message="Please
enter a title or subject." />

<cf_recaptcha
privateKey="..MY KEY.."
publicKey="..MY KEY..">

<cfinput type="submit" name="submit" id="submit" value="Submit
Request">

</cfform>


<cfif isDefined("form.submit")>
<cfoutput>reCaptcha says #FORM.recaptcha#</cfoutput>
</cfif>

jaredwilli

unread,
Jul 28, 2009, 3:32:47 PM7/28/09
to reCAPTCHA
I assume no one has tried to implement this with Coldfusion, and why
would they, it sucks. I don't particularly like CF myself, but I need
to get it to work with it.
Reply all
Reply to author
Forward
0 new messages