I want to submit the page to the same page and add a new record, based on the info given, to my database. If some info isn't given I'd like to return the info to the initial textboxes. Is there a way I can check whether the information was returned when I first load the page. You see I'm using Netscape 7.0 and when I initially load the page I get a confirm messagebox telling me, "the page you are trying to view contains post data. If you resend the data, any action on the form carried out will be repeated. To resend the data, click OK." I don't want this message to appear to any user because it could confuse them. Currently I'm using:
<input name="txtName" type="text" id="txtName" value="<%=Server.HTMLEncode(custName)%>">
How can I rewrite this to avoid that error?