Hello List!
I have an issue I could use some expertise on....
I have a page that allows the user to click a checkbox to distinguish if the entry is a valid exception --> if yes, saves a '1' to the database....
Now, when I reload the page, I want to have the checkbox checked if the user had previously checked it, just now sure how to do it.....
Here's my code so far:
The IF stmt is working correctly -- if it's checked (Or "YES" is passed into the page), it's going into the IF stmt, if it's NOT checked, it's going into the ELSE stmt...
Now, I just need to know how to check the box when the page is reloaded if it's in the IF stmt....
Thanks in advance for your time and help!!
-jiggyg
I have an issue I could use some expertise on....
I have a page that allows the user to click a checkbox to distinguish if the entry is a valid exception --> if yes, saves a '1' to the database....
Now, when I reload the page, I want to have the checkbox checked if the user had previously checked it, just now sure how to do it.....
Here's my code so far:
Code:
<tr>
<th align="left" ID="HeaderLinks">
<input type="checkbox" name="validException" value="1">Valid Exception</th>
<%
if request("validException") = "YES" then
Response.Write "CHECKED"
else
Response.Write "NO"
end if
%>
</tr>
The IF stmt is working correctly -- if it's checked (Or "YES" is passed into the page), it's going into the IF stmt, if it's NOT checked, it's going into the ELSE stmt...
Now, I just need to know how to check the box when the page is reloaded if it's in the IF stmt....
Thanks in advance for your time and help!!
-jiggyg