Hi - I think I'm following the rules in integrating reCaptcha into a
page, but I'm not seeing anything in the hidden fields when the form
is submitted. Am I making some kind of assumption I shouldn't be? I'm
rather new to Lift (and web development), so something on the simple
example side would probably be best understood.
Here's some stuff I have:
(in html form)
<script type='text/javascript' src='
https://api-secure.recaptcha.net/
challenge?k=<code here>'>
</script>
<noscript>
<iframe src="
https://api-secure.recaptcha.net/noscript?k=<code
here>" height="300" width="500" frameborder="0"></iframe><br/>
<textarea name="recaptcha_challenge_field" rows="3" cols="40">
</textarea>
<u:captcha/>
<!-- <input type="hidden" name="recaptcha_response_field"
value="manual_challenge"/> -->
</noscript>
And in my snippet, the captcha is bound to:
"captcha" -> SHtml.text(model.captcha.value, model.captcha.value = _,
"type" -> "hidden", "name" -> "recaptcha_response_field"),
model.captcha.value is always empty after form submission. Nothing
fancy here - just a regular form.
Thanks,
Chris