I am using Javascript to validate my form, and I still don't know
where to put a code to add a call to recaptcha_check_answer(). As far
as I know, recaptcha_check_answer() is a function is php, and I have a
validation form in Javascript.
This is my Javascript code:
function checkWholeForm(theForm) {
var why = "";
why += checkUsername(theForm.username.value);
why += checkEmail(theForm.email.value);
why += checkPassword(theForm.password.value,
theForm.password2.value);
if (why != "") {
alert(why);
return false;
}
return true;
}
Could you tell me how to implement recaptcha in my Javascript
validation form?