Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aarongustafson
Last active January 4, 2016 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarongustafson/d281f889a11634b45280 to your computer and use it in GitHub Desktop.
Save aarongustafson/d281f889a11634b45280 to your computer and use it in GitHub Desktop.
Code samples for my checkbox form control post
<label for="lilo_checkBox">
<input type="checkbox" id="lilo_checkBox" name="REMEMBERME">
Remember Me
</label>
<input type="checkbox" id="lilo_checkBox" name="REMEMBERME">
<label for="lilo_checkBox">Remember Me</label>
<input type="hidden" name="REMEMBERME" value="no">
<input type="checkbox" id="lilo_checkBox" name="REMEMBERME" value="yes">
<label for="lilo_checkBox">Remember Me</label>
<ul>
<li>
<label for="nintendo-ds-lite">
<input type="checkbox"
name="reservation_requested_device[]"
id="nintendo-ds-lite"
value="Nintendo DS Lite (Upper Cabinet #13)"
data-checkbox-required=""
>
Nintendo DS Lite
</label>
</li>
<li>
<label for="nintendo-wii">
<input type="checkbox"
name="reservation_requested_device[]"
id="nintendo-wii"
value="Nintendo Wii (TV Area)"
data-checkbox-required=""
>
Nintendo Wii
</label>
</li>
<!-- list continues -->
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment