Hoal a todos
He realizado una aplicación recaptcha sigueindo las instrucciones de la API.
Pero no me devuelve el error, cuando las letras no coinciden, en la div "recaptcha_only_if_incorrect_sol" como debería
Las claves públicas son las correctas.
Podeís ver donde está el error?
Un saludo a todos
Código HTML:
<form method="POST" action="">
<script>
var RecaptchaOptions = {
theme: 'custom',
lang: 'en',
custom_theme_widget: 'recaptcha_widget'
};
</script>
<div id="recaptcha_widget" style="display:none"></div>
<div class="recaptcha_only_if_incorrect_sol" style="display:none">"Error</div>
<div id="recaptcha_image"></div>
<span class="recaptcha_only_if_image">Enter the words above:</span>
<span class="recaptcha_only_if_audio">Enter the numbers you hear:</span>
<input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
<script type="text/javascript"
src="http://api.recaptcha.net/challenge?k=6Lcnq........Ng9">
</script>
<noscript>
<iframe src="http://api.recaptcha.net/noscript?k=6Lc.......Ng9"
height="300" width="500" frameborder="0"></iframe><br>
<textarea name="recaptcha_challenge_field" rows="3" cols="40">
</textarea>
<input type="hidden" name="recaptcha_response_field"
value="manual_challenge">
</noscript>
<script>
window.onload = function() {
Recaptcha.focus_response_field();
}
</script>
<table cellspacing=0 cellpadding=4 border=0 style="font-family: Helvetica, sans-serif; color: #000000; font-size: 12px;">
<tr><td>
<div>
<input type="submit" name="Button1" value="Submit" />
</div>
</td>
<td>
<b style="line-height: 18px;">The words above come from scanned books. <br>By typing them, you help to digitize old texts.</b>
</td></tr>
</table>
</form>