I think it is not allowed to have embedded fieldsets (fieldset inside another fieldset) - but I would like to confirm that.
The fieldset/legend structure is available for exact that - it can even be nested.
You can't have two legends for a given fieldset, but is there a way to get a legend effect without using the <legend> tag?
Multiple Fieldsets in a form are allowed. Example: Data entry fields in one fieldset and action buttons ('submit,' 'cancel' etc.) in a separate fieldset. Fieldset should always have a legend tag according to the standards.
You should not use the <fieldset> and <legend> when: You have a single form field that asks for a single piece of information.
<!ELEMENT FIELDSET - - (#PCDATA,LEGEND,(%flow;)*) -- form control group -->
Fieldset must contain a legend followed by zero or more %flow elements
<!ENTITY % flow "%block; | %inline;">
Flow includes %block
<!ENTITY % block "P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT | BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
Block includes FIELDSET
It is fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With