Skip to content

Instantly share code, notes, and snippets.

@gicolek
Created April 15, 2014 14:26
Show Gist options
  • Save gicolek/10736938 to your computer and use it in GitHub Desktop.
Save gicolek/10736938 to your computer and use it in GitHub Desktop.
gf sample
<form method="post" enctype="multipart/form-data" id="gform_1" action="/beantown/wp/contact-us/">
<div class="gform_body">
<ul id="gform_fields_1" class="gform_fields left_label description_below"><li id="field_1_11" class="gfield gsection"><h2 class="gsection_title">We'd love to hear from you!</h2><div class="gsection_description"><div class="vcard"><span class="fn">Erica Voigt</span>
<span>Proprietor</span><a class="email" href="mailto:[email protected]">[email protected]</a>
<a class="tel" href="tel:+16179369047">617.936.9047</a>
</div></div></li><li id="field_1_12" class="gfield"><label class="gfield_label" for="input_1_12">First name</label><div class="ginput_container"><input name="input_12" id="input_1_12" type="text" value="" class="medium" tabindex="1"></div></li><li id="field_1_13" class="gfield"><label class="gfield_label" for="input_1_13">Last name</label><div class="ginput_container"><input name="input_13" id="input_1_13" type="text" value="" class="medium" tabindex="2"></div></li><li id="field_1_14" class="gfield"><label class="gfield_label" for="input_1_14">Email</label><div class="ginput_container"><input name="input_14" id="input_1_14" type="email" value="" class="medium" tabindex="3"></div></li><li id="field_1_15" class="gfield"><label class="gfield_label" for="input_1_15">Phone number</label><div class="ginput_container"><input name="input_15" id="input_1_15" type="tel" value="" class="medium" tabindex="4"></div></li><li id="field_1_16" class="gfield inline"><label class="gfield_label">what's the best way to contact you?</label><div class="ginput_container"><ul class="gfield_checkbox" id="input_1_16"><li class="gchoice_16_1"><a href="#" class="checkbox"></a><input name="input_16.1" type="checkbox" value="e-mail" id="choice_16_1" tabindex="5" style="position: absolute; opacity: 0; left: -999em;"><label for="choice_16_1">e-mail</label></li><li class="gchoice_16_2"><a href="#" class="checkbox"></a><input name="input_16.2" type="checkbox" value="phone" id="choice_16_2" tabindex="6" style="position: absolute; opacity: 0; left: -999em;"><label for="choice_16_2">phone</label></li></ul></div></li><li id="field_1_17" class="gfield"><label class="gfield_label" for="input_1_17"></label><div class="ginput_container"><textarea name="input_17" id="input_1_17" class="textarea medium" tabindex="7" rows="10" cols="50">Leave us a quick note about the services you’re interested in and the project you want to get started…</textarea></div></li>
</ul></div>
<div class="gform_footer left_label"> <input type="submit" id="gform_submit_button_1" class="button gform_button" value="Send" tabindex="8" onclick="if(window[&quot;gf_submitting&quot;]){return false;} window[&quot;gf_submitting&quot;]=true;">
<input type="hidden" class="gform_hidden" name="is_submit_1" value="1">
<input type="hidden" class="gform_hidden" name="gform_submit" value="1">
<input type="hidden" class="gform_hidden" name="gform_unique_id" value="">
<input type="hidden" class="gform_hidden" name="state_1" value="WyJhOjA6e30iLCI5MzQ0MjRmYTY4NWE4ZGJjYTE1MDA2MTQ3MTdkYzJlZSJd">
<input type="hidden" class="gform_hidden" name="gform_target_page_number_1" id="gform_target_page_number_1" value="0">
<input type="hidden" class="gform_hidden" name="gform_source_page_number_1" id="gform_source_page_number_1" value="1">
<input type="hidden" name="gform_field_values" value="">
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment