Besides that I'm looking for a way to group certain fields in the form
I would have blocks with 'user details', 'topic categories', 'topic details', and 'topic map' all in one form. I know I can put a headerField to it, but I need a way to group these in a div or even a different fieldset, which would allow me to do more with css.
However this seems to be a bit over the top... it creates more divs than necessary.
$fieldgroup = new CompositeField( new HeaderField("Details Auteur", 3),
new TextField("FirstName", "Voornaam", $member->FirstName),
new TextField("Surname", "Achternaam", $member->Surname),
new EmailField("Email", "Email", $member->Email)
This gives me a wrapper div <div class="field CompositeField nolabel multicolumn">
AND a new div per field:either <div class="column1"> or <div class="column1 lastcolumn"> .
I certainly don't need those extra divs. I only want the wrapper...