ElementTree addFieldset(ElementTree parent, String legendtext)
Arguments
parent: The parent element (often the form, but in many cases nested fieldsets make sense)legendtext: The 'legend' of the fieldset. This text is generally displayed at the top of the fieldset as a descriptive heading.
Usage
Add a new fieldset to a form. Fieldsets are very useful for containing form controls which may not be directly contained within a form.