This class can be used to compose and generate HTML forms in a programmatic way.
The class provides functions to start and finish composing a form, adding form inputs, add input labels and starting and finishing the definition of a field set with an eventual legend.
The form is generated by calling the __toString function. It creates XHTML compliant HTML.