Wizard like forms

2007-10-12 Thread voltron
I have to collect a lot od data from users, the forms used are separate but interconnected. This has me coding for every form, a processing function and a display form function in the controllers and then both functions have to be defined in the routes configuration, is there some cleaner and

Re: Wizard like forms

2007-10-12 Thread [EMAIL PROTECTED]
I would actually do things a little differently. Rather than using a separate controller for each step, I would combine all the steps into one controller because a lot of the data is going to be shared. Each page would be rendered simply by rendering a different template. Your program state

Re: Wizard like forms

2007-10-12 Thread voltron
Actually thats what I meant, different functions in one controller, its just that I have two functions for each step, one to render the form and one to save and process the data. Hidden variables? I have been trying my best to avoid those. You mention in your blog this: Each page in the wizard