in reply to Re^2: Which HTML form builder
in thread Which HTML form builder
I give each element a unique class
You might be better off dropping this and using an id instead. This has a number of advantages.
First, an id is supposed to represent a unique thing, whereas class is for groups.
Second, in order to use label elements most effectively, you need to use a for attribute rather then nesting the control inside the label (this is due to the for approach having better support from browsers) - so you should have a unique id on each control anyway.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Which HTML form builder
by amarquis (Curate) on Jan 23, 2008 at 19:02 UTC | |
by ww (Archbishop) on Jan 23, 2008 at 20:51 UTC |
In Section
Seekers of Perl Wisdom