I'm guessing this is an easy question, but I can't figure it out. I've got a select box that is populated with fields from a database table:
It works great, but my question is how do I have a "Choose field" option with a blank value?
Thanks in advance.
Michelle
Code:
<select name="subject">
<%
While (NOT catalog.EOF)
%>
<option value="<%=(catalog.Fields.Item("library_subject_id").Value)%>" ><%=(catalog.Fields.Item("library_topic_grouping").Value)%> - <%=(catalog.Fields.Item("library_category").Value)%></option>
<%
catalog.MoveNext()
Wend
If (catalog.CursorType > 0) Then
catalog.MoveFirst
Else
catalog.Requery
End If
%>
</select>
It works great, but my question is how do I have a "Choose field" option with a blank value?
Thanks in advance.
Michelle