By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,696 Members | 2,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,696 IT Pros & Developers. It's quick & easy.

Retain values on the form when posting back to itself

P: n/a
I have simple form where user enter the search criteria and the form is
posted back to itself and runs a query based on the values that are entered.

Everything is expect the values that the user enters disappears everytime
the form is refreshed when posting it to itself.

Is there anyway I can retain the values that were entered on the form?


Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yes, just put them back in.

<form method="post" action="thissamepage.asp">
<input name="something" value="<%=Request.Form("something")%>" type="text">

Ray at work

"J P Singh" <noemail@asIhatespam> wrote in message
news:us*************@TK2MSFTNGP11.phx.gbl...
I have simple form where user enter the search criteria and the form is
posted back to itself and runs a query based on the values that are entered.
Everything is expect the values that the user enters disappears everytime
the form is refreshed when posting it to itself.

Is there anyway I can retain the values that were entered on the form?

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.