Last active
October 23, 2017 10:56
-
-
Save paxti/cd8c91f1486119c60c4ea7e28ffb5690 to your computer and use it in GitHub Desktop.
Snippet for one line form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="sh-column-wrapper"> | |
<script> | |
function onSubmitccaNews5979e43e6c471d58b1ba1d3dfd006(token) { | |
document.getElementById("contact-form-cca5979e43e6c471d58b1ba1d3dfd006").getElementsByTagName("form")[0].submit(); | |
} | |
</script> | |
<div id="contact-form-cca5979e43e6c471d58b1ba1d3dfd006" class="form-wrapper contact-form"> | |
<form data-fw-form-id="fw_form" method="post" action="<PARDOT_LINK_HERE>" class="fw_form_fw_form" data-fw-ext-forms-type="contact-forms"> | |
<input type="hidden" class="gclid_default" name="gclid" value="" placeholder="Email"> | |
<div id="recaptcha-cca5979e43e6c471d58b1ba1d3dfd006" class="g-recaptcha" data-sitekey="6Le02yEUAAAAAPAW9zzNCoADSCEWbq4Ktr69pKKJ" data-callback="onSubmitccaNews5979e43e6c471d58b1ba1d3dfd006" data-size="invisible"></div> | |
<div class="wrap-forms"> | |
<div class="fw-row"></div> | |
<div class="fw-row"> | |
<div class="fw-col-xs-12 fw-col-sm-6 form-builder-item"> | |
<div class="field-text"> | |
<label for="id-1">Email <sup>*</sup></label> | |
<input type="email" name="email" placeholder="Email" value="" id="id-1" required="required"> | |
</div> | |
</div> | |
<div class="fw-col-xs-12 fw-col-sm-6 form-builder-item"> | |
<div class="field-text"> | |
<div class="submit-form" style="margin-top: 27px;"> | |
<input type="submit" class="submit-button" id="submit-cca5979e43e6c471d58b1ba1d3dfd006" value="SIGN ME UP!" placeholder=""> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</form> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment