Created
July 15, 2020 00:36
-
-
Save spivurno/fb50e2de9ecdf8a567e32f26175e869a to your computer and use it in GitHub Desktop.
Gravity Forms 2.5 Markup Comparison
This file contains hidden or 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
// New Markup | |
<div id="gform_fields_893" class="gform_fields top_label form_sublabel_below description_below"> | |
<fieldset id="field_893_4" class="gfield field_sublabel_below field_description_below gfield_visibility_visible"> | |
<legend class="gfield_label gfield_label_before_complex">Name C</legend> | |
<div class="ginput_complex ginput_container no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name" id="input_893_4"> | |
<span id="input_893_4_3_container" class="name_first"> | |
<input type="text" name="input_4.3" id="input_893_4_3" value="" aria-label="First name" aria-required="false"> | |
<label for="input_893_4_3">First</label> | |
</span> | |
<span id="input_893_4_6_container" class="name_last"> | |
<input type="text" name="input_4.6" id="input_893_4_6" value="" aria-label="Last name" aria-required="false"> | |
<label for="input_893_4_6">Last</label> | |
</span> | |
</div> | |
</fieldset> | |
</div> | |
// Old Markup | |
<ul id="gform_fields_893" class="gform_fields top_label form_sublabel_below description_below"> | |
<li id="field_893_4" class="gfield field_sublabel_below field_description_below gfield_visibility_visible"><label class="gfield_label gfield_label_before_complex">Name C</label> | |
<div class="ginput_complex ginput_container no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name" id="input_893_4"> | |
<span id="input_893_4_3_container" class="name_first"> | |
<input type="text" name="input_4.3" id="input_893_4_3" value="" aria-label="First name" aria-required="false"> | |
<label for="input_893_4_3">First</label> | |
</span> | |
<span id="input_893_4_6_container" class="name_last"> | |
<input type="text" name="input_4.6" id="input_893_4_6" value="" aria-label="Last name" aria-required="false"> | |
<label for="input_893_4_6">Last</label> | |
</span> | |
</div> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment