in reply to Re^3: HTML::FormHandler rendering
in thread HTML::FormHandler rendering (somewhat SOLVED)
It uses a <fieldset> with a <legend> tag only for compound fields (such as a DateTime with Day, Month and Year sub-fields). This is of course perfectly OK and is exactly what <fieldset> is all about: visually grouping together related fields in a form.
True to its nature HTML::FormHandler::Render::Simple takes this one step further and automatically assembles the parent-field out of the sub-fields.
However I only wanted to do the visually grouping together without the auto-assembly of a compound field. I guess I will have to write my own renderer for that.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|