1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Rep Power

    How do I do this one?

    Ok i am making a simple registration script that would ask for First and Last name and city and etc but I also want a confirm page which I already did. But my question is this...

    Lets say the user filled out his first and last name but made a typo on his city, well if he hits a back link which I added all of the form fields are now empty, how can i make it if he does go back all the fields are still filled in??
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Rep Power
    Either put the form values into a hidden form on the confirm page and have the back link submit them back to the main form page, or store the values in a session variable and read them out of the session on the main form page.

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. Reversible Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Washington, USA
    Rep Power
    Give them a link to go "back" and edit the details. Then they won't need to use their back buttons.

IMN logo majestic logo threadwatch logo seochat tools logo