I'm trying to update some forms that I've written. These forms are comprised of several pages and changed depending on what was submitted in a previous page's form. I'd like to make them similar to what Windows calls a wizard -- displays "Step x of Y" and allows you to move either forward or backward in the steps.
I had something similar worked out using plain old forms and simply passing along the $HTTP_POST_VARS from earlier forms in hidden fields. Now, I've tried to eliminate the hidden fields and store all this info in a PHP4 session. When I go back a screen, the form uses the session variables instead of the form variables submitted from the previous form.
Anyway, does anyone have any advice or code that they'd like to share in creating user friendly, multiple page, multiple step forms?
Thanks!
-Bill