How to keep the data in the form fields visible after the submit button is pressed
am 01.10.2005 06:37:00 von karenmiddleolI have the following form the user enters the From and to period and
presses the Submit button and the form fields are cleared once the
submit button is pressed.
Is there a way I can keep the Form fields visible and not cleared.
Also when I display the message I want the original form cleared in a
different version of this page how can I clear the form completely when
I display the data entered from the Response statements I do not want
the form fields or the submit button visible anymore just the response
statements.
Your help is deeply appreciated.
Thanks
Karen
<%
'// Check the first field only (assumes it is required)
If Request.Form("FromPeriod") <> "" Then
Response.Write "From: " & Request.Form("FromPeriod") & "
"
Response.Write "To: " & Request.Form("ToPeriod")
End If
%>