I have an OPTION Box and an INPUT Box. When someone chooses as specific OPTION, then the INPUT Box must become visible, otherwise it must remain hidden.
I've tried the code below, but it doesn't work. Any advice?
<select name="Style">
<option selected>--Select Style--</option>
<%=SF_GetStyleSELECT(Request.Cookies(consts_CollectionName_User)("style"))%></select>
</td>
</tr>
<%
dim stype
stype = "hidden"
if shiurfrequency = "Once-only Shiur" then
stype = "visible"
end if
%>
<tr><td>Style:</td><td>
<input name=mstyle type = "<%=stype%>" size=25 value="<%=Request.Cookies(consts_CollectionName_user)("style")%>" </td></tr>
I've tried the code below, but it doesn't work. Any advice?
<select name="Style">
<option selected>--Select Style--</option>
<%=SF_GetStyleSELECT(Request.Cookies(consts_CollectionName_User)("style"))%></select>
</td>
</tr>
<%
dim stype
stype = "hidden"
if shiurfrequency = "Once-only Shiur" then
stype = "visible"
end if
%>
<tr><td>Style:</td><td>
<input name=mstyle type = "<%=stype%>" size=25 value="<%=Request.Cookies(consts_CollectionName_user)("style")%>" </td></tr>