Triggering reCaptcha in a form
the question: how trigger recaptcha mechanism, in standard form?
the setting: recaptcha has been set precisely laid out on google's recaptcha pages, in case using formmail.pl script handle form. formmail perl script performs flawlessly, email filled-in form data (to email, rather insert database).
however - though set according spec - missing trigger recaptcha mechanism. form ‘submit,’ without accounting whether recaptcha fields filled in. recaptcha not kick in, ‘wait minute, have not filled in test field.’
(the page current code @ http://concord-trustingtheprocess.org . can see, spry forms validation mediates user entries individual form fields. problem lies in triggering recaptcha part. said, necessaries, recaptcha, in formmail perl script.)
an additional issue of course - in case of user’s failing make correct entry recaptcha - re-population of page, try.
is php, or javascript, required, finish off? if so, can specified succinctly? , if so, thanks.
currently relevant html has recaptcha code , submit button in simple side-by-side cells of one-row table [the public key has been replaced here placeholder]:
</table>
<table width="567" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="left" valign="middle"">
<td>
<script type="text/javascript"
src="http://www.google.com/recaptcha/api/challenge?k=[my_public_key]">
</script>
<noscript id="recaptcha_area">
<iframe src="http://www.google.com/recaptcha/api/noscript?k=[my-public_key]"
height="300" width="500" frameborder="0"></iframe>
<textarea name="recaptcha_challenge_field" rows="3" cols="40">
</textarea>
<input type="hidden" name="recaptcha_response_field"
value="manual_challenge">
</noscript>
</td>
<td><input type="submit" name="button" id="button" value="submit" /></td>
</tr>
</table>
css added facilitate page layout, not relevant problem:
#recaptcha_area #recaptcha_response_field {
position: static !important;
}
i have done pretty thorough search on subject, in our community forum here; without real success (did miss it?) posting detail, , query.
thanks in advance help, david allen
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment