Coldfusion + reCAPTCHA

Posted on 2011-05-05
Last Modified: 2012-05-11
I'm working on a reCAPTCHA for my forums, but after I submit the form I keep getting the following error.


and everything looks fine.
Question by:Medrise
    LVL 36

    Accepted Solution

    without seeing your code it's hard to say why but you may need to simply define the variable

    <cfparam name="form.RECAPTCHA_CHALLENGE_FIELD" default="">

    LVL 11

    Assisted Solution

    by:Brijesh Chauhan
    Can you post your form code ? you can use a custom tag for re-captcha if not already ...

    Author Comment

    Sorry I forgot the code.. :(

    I'm using the now the and it always display false...

    Here is the code...

    <!--- SUBMIT FORM --->
    <cfif Isdefined("FT_ACTION")>
    <!--- CHECK RECAPTCHA --->
    <cf_recaptcha action="check" privateKey="pKEY" publicKey="pubKEY"> some insert to db...
    <cfform action="#FTVAR_LINKP#join.cfm" name="profileform" method="post" onsubmit="#FTVAR_JSTORUNTMP#" style="margin:0px;" enctype="multipart/form-data">
    ..... SOME IMPUTS ....
    <cf_recaptcha privateKey="pKEY" publicKey="pubKEY">
    <input type="hidden" name="FT_ACTION" value="signup">
    <input type="hidden" value="join.cfm?FT_ACTION=showsignup" name="FTVAR_REDIRECT">

    Open in new window

    LVL 3

    Assisted Solution


    Your code looks fine, have you registered the site on the recaptcha database?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
    CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now