|
rdouglass -> RE: Check Box (12/24/2007 2:27:25)
|
Checkboxes work in the sense that there is either a value or there is not; there cannot be 2 different values directly from 1 checkbox. <input type="checkbox" name="mycheckbox" value="yes"> When you Request.form("mycheckbox"), you will either get "yes" or Null . If you want a "no" out of it, you need to do something like: <%IF trim(Request.form("mycheckbox") & "") = "yes" Then myValue = "yes" ELSE myValue = "no" End IF%> Hope it helps.
|
|
|
|