Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to keep form field contents visible

Status
Not open for further replies.

pdevteam

Programmer
Jun 5, 2001
6
FI
Hi!

I'm having a custom SQL-query interpreter, implemented with ASP, which is used for modifying SQL-sentences saved to the database.

First user gets a list of the editable sentences and clicks the desired sentence and this sentence is passed to query interpreter page as a parameter

The forms "action" is set to call the page itself as in all query interpreters.

The problem is, that when the user presses "RUN" -button the entered SQL -sentence will disappear.

Is there a way to keep the data visible after "RUN" -command? I could pass the parametres "to itself", but it returns the loaded sentence not the user modified.

I know that user only needs to push the BACK-button of the browser (or I could add a Script to give a link back - history -1 etc.), but it would be more useful if the data would remain.

Thank you!
 
Try this:

<INPUT name=email value=&quot;<%=request.form(&quot;email&quot;)%>&quot;>

Olav J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top