Jump to content

Multiple javascript validation form adding non-javascript reCAPTCHA


zaiber

Recommended Posts

 

I need to know what I need to add in order to combine the reCAPTCHA non-javascript:

 

<script type="text/javascript"

  src="http://api.recaptcha.net/challenge?k=<your_public_key>">

</script>

 

<noscript>

  <iframe src="http://api.recaptcha.net/noscript?k=<your_public_key>"

      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>

 

 

to the multiple javascript validation?

 

************************** My javascript section

<script type="text/javascript">

function validateFormOnSubmit(theForm) {

var reason = "";

 

  reason += validateUsername(theForm.username);

  reason += validateEmail(theForm.email);

  reason += validatePhone(theForm.phone);

  reason += validatePhone2(theForm.phone2); 

 

<script type="text/javascript">function validateUsername(fld) { } </script>

<script type="text/javascript">function validateEmail(fld) { } </script>

<script type="text/javascript">function validatePhone(fld) { } </script>

<script type="text/javascript">function validatePhone2(fld) { } </script>

 

 

Please reply with any help provided, thank you!!!

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.