I have created a pretty extensive form in template.php which works fine.
Now I would like to break te form apart in different sections, personal info, company info...
Using fieldset woul be great but I can only use one fieldset within signup_form_data array (forgive my explanation i'm not a php expert)
a second fieldset with the same $form['signup_form_data'] doesn't show.
But when I make a second array $form['company_data'] the values don't get stored in the db or send in the e-mail.
Please advice.

Comments

dww’s picture

Status: Active » Closed (won't fix)

The comment in theme/signup_form.inc says:

* Fieldsets are not currently supported in this form.

The whole way this works is completely stupid, and I'm not going to spend any more time on the current system. Instead, this should be fixed via #29568: Flexible number and type of fields...

botris’s picture

ty for another promt reply.
Is there another way to insert a single line of text on two or three places in the middle of the form?

botris’s picture

Had to come up with a solution today (after ignoring this problem for weeks) ended up using tekstfields as titles with disabled set to true and the input field hidden with css... not pretty but it works