Created
March 16, 2011 22:18
-
-
Save srkirkland/873442 to your computer and use it in GitHub Desktop.
Desired Html structure for a form, excluding the fieldset stuff. Label only has the required class & matching span if required.
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
<ul> | |
<li> | |
<div class="editor-label required"> | |
<label>Text Field: </label><span>*</span> | |
</div> | |
<div class="editor-field"> | |
<input type="text" value="Default" id="CompanyName"> | |
<span class="field-validation-error">The CompanyName field is required.</span> | |
</div> | |
</li> | |
<li> | |
.... And so on .... | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment