MissSecretary
11-16-2009, 08:01 AM
Good morning...
I have a file with the .inc extension that places form fields onto an ASP page.
The fields are all text (Name, Address, City, etc)
I am trying to add another field for "Business Type" but want to put a drop down box instead of a text field and I am not sure how to do this.
To have a text field for "Business Type", the code looks like this (and works):
'--- Create a text box for 'Business Type'
Dim v_Category
v_BusinessType = "<input class='cls_Dlg_Input' type='text' name='BusinessType' value='" & InputValue_String("") & "' size='36' maxsize='64'>"
How would I turn that into a Drop Down box with this code:
<select size="1" name="BusinessType">
<option selected>Select Business Type</option>
<option value="Business Type 1">Business Type 1</option>
<option value="Business Type 2">Business Type 2</option>
<option value="Business Type 3">Business Type 3</option>
</select>
Thanks so much
I have a file with the .inc extension that places form fields onto an ASP page.
The fields are all text (Name, Address, City, etc)
I am trying to add another field for "Business Type" but want to put a drop down box instead of a text field and I am not sure how to do this.
To have a text field for "Business Type", the code looks like this (and works):
'--- Create a text box for 'Business Type'
Dim v_Category
v_BusinessType = "<input class='cls_Dlg_Input' type='text' name='BusinessType' value='" & InputValue_String("") & "' size='36' maxsize='64'>"
How would I turn that into a Drop Down box with this code:
<select size="1" name="BusinessType">
<option selected>Select Business Type</option>
<option value="Business Type 1">Business Type 1</option>
<option value="Business Type 2">Business Type 2</option>
<option value="Business Type 3">Business Type 3</option>
</select>
Thanks so much