Hello Everyone,
I'm creating a multi-page form which includes 3 pages:
1. Form
2. Review page - displays what user input and chance for user to click edit and go back to form 1
3. Thank you page
What I want to know is if there is an easier way to repopulate the fields in form 1 when the user clicks edit (just a simple link to form 1). I'm using sessions, and one method is this:
PHP Code:
<input name="firstname" value="<? echo $_SESSION['typeofservice']; ?>">
The form I'm creating contains over 60 fields. Is there an easier way to do this?
|