captcha always validates to false

Permalink
Hi all,

I tried a bunch of different php captcha plugins on a form I've been working on (including the one built into concrete5) but they all always validate to false.
This is the capthca display code in the form:
<code>
<div><?php echo recaptcha_get_html($publickey); ?></div>
<p><a href="#" class="h1-action button-left" onclick="$('#evaluation-form').submit();return false;"> <span>Submit Form</span> </a></p>
</div>
</form>
</code>

and here is the validation code:
<code>
if($_POST['action'] == 'evaluation-form'){

$response = recaptcha_check_answer($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);

if ($response->is_valid) {
//further validation here
}
</code>


Any help would be appreciated