Skip to content

Instantly share code, notes, and snippets.

@accrane
Created April 14, 2017 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save accrane/f87697bf3f49e16726954edfc1bac7a5 to your computer and use it in GitHub Desktop.
Save accrane/f87697bf3f49e16726954edfc1bac7a5 to your computer and use it in GitHub Desktop.
the form setup for Google Captcha V2
<div class="form-wrap">
<!-- Form 1 -->
<form id="form-1">
<!--
Other form elements...
-->
<!-- insert the google captcha div with the ID of "recaptcha1" -->
<div id="recaptcha1" class="googlecapt"></div>
<!-- Give your submit button an ID of "button1" -->
<div class="infusion-submit"><input type="submit" value="Submit" id="button1" /></div>
</form>
<!-- Form 2 -->
<form id="form-2">
<!--
Other form elements...
-->
<!-- For form 2, insert the google captcha div with the ID of "recaptcha2" -->
<div id="recaptcha2" class="googlecapt"></div>
<!-- For form 2, Give your submit button an ID of "button2" -->
<div class="infusion-submit"><input type="submit" value="Submit" id="button2" /></div>
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment