Hi there,
Is it possible to link categories to checkbox instead of using the pulldown menu <select>? Our old search engine isn't too user friendly and I'm hoping to somewhat automate it with Zoom using what we currently have.
I know how to change it in the code (Ref from search.asp - see below) but wanted to know if there was any other way.
Thanks!
Code reference:
<--snip snip-->
if (UseCats = 1) then
Response.Write(STR_FORM_CATEGORY & " ") & VbCrlf
Response.Write("<select name='zoom_cat'>") & VbCrlf
Response.Write("<option value=""-1"">" & STR_FORM_CATEGORY_ALL & "</option>")
for i = LBound(catnames) to UBound(catnames)
Response.Write("<option value=""" & i & """")
if (i = cat) then
Response.Write(" selected=""selected""")
end if
Response.Write(">" & catnames(i) & "</option>")
Next
Response.Write("</select>") & VbCrlf
end if
Is it possible to link categories to checkbox instead of using the pulldown menu <select>? Our old search engine isn't too user friendly and I'm hoping to somewhat automate it with Zoom using what we currently have.
I know how to change it in the code (Ref from search.asp - see below) but wanted to know if there was any other way.
Thanks!
Code reference:
<--snip snip-->
if (UseCats = 1) then
Response.Write(STR_FORM_CATEGORY & " ") & VbCrlf
Response.Write("<select name='zoom_cat'>") & VbCrlf
Response.Write("<option value=""-1"">" & STR_FORM_CATEGORY_ALL & "</option>")
for i = LBound(catnames) to UBound(catnames)
Response.Write("<option value=""" & i & """")
if (i = cat) then
Response.Write(" selected=""selected""")
end if
Response.Write(">" & catnames(i) & "</option>")
Next
Response.Write("</select>") & VbCrlf
end if
Comment