« UI Controls of the Week: Quickly fill up a UI mockup with photos, placeholder text, and ads | Main | UI Control of the Week: Repeater control generates multiple copies of UI elements »

February 20, 2012

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451fb6769e20168e74de1eb970c

Listed below are links to weblogs that reference UI Controls of the Week: Making HTML check boxes and radio buttons work the way they should have in the first place:

Comments

Tommy Carlier

There's an easier way to create a label for a checkbox, that does not have the gap or require an ID on the checkbox: embedding the checkbox inside the label:

{label}{input name=remember type=checkbox} Keep me signed in{/label}

Tommy Carlier

Ignore my previous comment: I didn't read your post all the way to the end. Stupid me. :-)

Jan Miksovsky

Tommy: No worries. It was kind of surprising to me to come across the implicit form of a label (where it contains the input control), since most explanations of label elements that I've seen use the explicit variant that takes a "for" attribute. The implicit one is much nicer!

The comments to this entry are closed.