Forums / Setup & design / Forms which repeat fields n times

Forms which repeat fields n times

Author Message

Trond Åge Kvalø

Monday 15 March 2004 6:37:42 am

I want to create a registration form that starts with some common fields (e.g. company related fields)

Then I want to have a dropdown list that decides how many times I should repeat the fields with individual information.

Now I'm not sure on which level to handle this. Should I create a class with n repetitions of the wanted fields, or should I just make one field for each element and then use some template code to repeat the given fields?

This is a registration form for courses, and I'd like a company to be able to register several participants in the same form.

Any help is appreciated.

trondåge

trondåge