Retaining user-entered values in forms
I have 7 forms related to one another. What I want is to allow the user to view what he entered when he jumps to a previous page of the form. How will I do this without using hidden variables, cookies or the Request collection of ASP?
Mark Hensler posted this at 18:50 — 6th April 2001.
He has: 4,048 posts
Joined: Aug 2000
How are you storing the info once submited on the previous pages?
val04 posted this at 03:25 — 8th April 2001.
They have: 16 posts
Joined: Mar 2001
I am currently storing the information in a database. I know this is not practical since users might return to a previous page and change the information they entered.
How will I be able to let users view the information they entered when they return to previous pages without using a database to temporarily store the information they entered (using ASP or JavaScript)?
hotcut posted this at 19:46 — 10th April 2001.
They have: 133 posts
Joined: Sep 2000
I suppose that you can do it by making the javascript got o the "history.back(-1)" that should save it all when they come back...
make a link point to
javascript:history.back(-1)
and that should do the trick.
~Casper
Ken Elliott posted this at 04:08 — 11th April 2001.
They have: 358 posts
Joined: Jun 1999
If I'm not mistaken couldn't you just change the method on the forms to "Get" then all of the values would be part of the form url, and there for be embedded into the url in the browser's history.
Not 100% sure on it of course...not 100% sure of anything these dayz...but thats my shot at it.
Ken Elliott
Pimpin like a pimp with an electrofied pimpin machine!
merlin posted this at 06:28 — 11th April 2001.
They have: 410 posts
Joined: Oct 1999
ken, that could be a way. but you should be careful when you have a lot of form-input. sometimes, you're url is getting too long (not sure how long it CAN be...).
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.