I have the following problem, maybe there's a pattern for but I have no idea.
I have to dynamicly create forms depending on a specific code.
to be clear: I have the first form, where the user selects a code (1-300), when he submits the user should be redirected to a form whit code specific imput fields depending on the code given earlier.
How would you solve this problem ?
create a map backed form
the input fields are not only text, but can be combo / dropdown lists...
the backend what code needs what inputs fields is stored in xml atm, but I guess this can be anything from flat files to an db (but doesn't really matter here)
I just read it and then I need to make a form from it dynamicly ... not only input fields