Handling 2 forms in one controller

C) Create one action. Use request.post? To see if they're just arriving or have posted the form. Then use another if statement based on the submit button's value to see which form part has been submitted. If it's the first part, you can do your validation, store information in the session and display the second part of the form. If the second form has been submitted, you can do that validation and store your data.

Would that work?


Robert Spielmann wrote: