Skip to content

Instantly share code, notes, and snippets.

@xXFracXx
Created September 17, 2014 08:34
Show Gist options
  • Save xXFracXx/257f0c3fbb0298bacf68 to your computer and use it in GitHub Desktop.
Save xXFracXx/257f0c3fbb0298bacf68 to your computer and use it in GitHub Desktop.
Google Form Custom Style
<script type="text/javascript">var submitted=false;</script>
<iframe name="hidden_iframe" id="hidden_iframe"style="display:none;" onload="if(submitted){window.location='http://artexforcharity.com/index.html#contact';}"></iframe>
<form action="https://docs.google.com/forms/d/1pQHOjtCz6gHXCuxqCPQL213cAXiBhpoHx9LnJukf3o4/formResponse" method="post" target="hidden_iframe" onsubmit="submitted=true;">
<div class="form-group row">
<div class="col-md-8">
<input class="form-control col-md-6" type="text" name="entry.1304118505" id="entry_1304118505" placeholder="Enter EMail ID">
</div>
</div>
<div class="form-group row">
<div class="col-md-8">
<input class="form-control" type="text" name="entry.331980591" id="entry_331980591" placeholder="Enter Full Name">
</div>
</div>
<div class="form-group row">
<div class="col-lg-11">
<textarea class="form-control" id="entry_605335201" name="entry.605335201" rows="8" placeholder="Enter Message"></textarea>
</div>
</div>
<br/>
<button class="btn btn-dark big" id="submit-contact-form" type="submit">Send Message</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment