How to keep values on form after submission? (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


spcafc -> How to keep values on form after submission? (2/6/2009 12:40:28)

I am wondering how this works. I need to have the form stay populated with the data the user entered after they get an "Oops! You forgot something, please go back and correct your entry" page.

The user then must click on their back button OR on a link that takes them back to the original form page.
The form is validated on some entries but not all BUT I need to have ALL entries remain populated.

Any ideas?




BeTheBall -> RE: How to keep values on form after submission? (2/6/2009 15:13:37)

What kind of page is it? .htm, .asp, etc.? Also, is your form using a POST method or GET? Does the form submit to another page or to the same page the form sits on?




spcafc -> RE: How to keep values on form after submission? (2/6/2009 15:31:34)

It's an .asp page, POST method and submits to another page.





TexasWebDevelopers -> RE: How to keep values on form after submission? (2/6/2009 20:23:33)

<input name="first_name" type="text" id="first_name" value="<%=first_name%>">




spcafc -> RE: How to keep values on form after submission? (2/7/2009 8:52:20)

Where would I put this code? I am assuming in every instance of a text box field...




TexasWebDevelopers -> RE: How to keep values on form after submission? (2/7/2009 9:35:15)

yep




spcafc -> RE: How to keep values on form after submission? (2/8/2009 10:02:04)

Thank you!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125