Classic ASP VBScript
WIN XP PRO
Hello. I am trying to get a form field to retain its entered value if the page is reloaded from an "Error Redirect".
The page is using the DWMX INSERT behavior, so it is posting to itself.
I have a block of code entered before the INSERT script that basically says to redirect back to this page if the "catID" = 0. Here's that block of code:
<%if (CStr(request("catID")) = "0") then%>
Problem: I would like another field in that form ("cp_5x5") to retain its value, but it blows it away when the page redirects back to itself. How can I achieve this?
I have read some possibilities regarding Hidden fields, but am not sure how to implement this. I do, however, want to keep validation server-side (ASP).
Thanks so much,