News for hackers. Stuff that matters.
Re:Why Your Form Checkboxes Need to Have Label Tags by true_religion on Sunday June 19, 2011 @12:27PM (#2671118)
We're comparing this to writing bare HTML by hand.

All of your criticisms apply equally to the technique it replaces.

Now since however, I didn't really specify what went into the checkbox function behind the scenes... lets assume.

1. It creates unique id variations. 2. It handles the case where you have multiple checkboxes with the same name. Perhaps by passing in differing parameters (e.g. checkbox(id='?', name='foo')).

You're criticizing an unspecified strawman example. Until someone actually goes out and writes this library, neither you nor I know how 'fool proof' it really is and what edge cases it leaves unspecified.

There are no comments on this comment yet.