I am using the follow code in my EDIT form but I have a dup entry. This is on my EDIT page so I need the code to populate the selected with what the current field is in the db. What did I need to do to remove the dup entry?
<select size="1" name="VN" tabindex="1">
<cfoutput><option value="#VN#" selected="selected">#VName#</option></cfoutput>
<option value="1">Car</option>
<option value="2">Truck</option>
<option value="3">Van</option>
<option value="4">SUV</option>
<option value="5">RV</option>
<option value="6">Bike</option>
<option value="7">Boat</option>
<option value="8">Sled</option>
</select>
I read both of the follow faqs:
And I also read the comments in but I still can't figure it out.
newcow
<select size="1" name="VN" tabindex="1">
<cfoutput><option value="#VN#" selected="selected">#VName#</option></cfoutput>
<option value="1">Car</option>
<option value="2">Truck</option>
<option value="3">Van</option>
<option value="4">SUV</option>
<option value="5">RV</option>
<option value="6">Bike</option>
<option value="7">Boat</option>
<option value="8">Sled</option>
</select>
I read both of the follow faqs:
And I also read the comments in but I still can't figure it out.
newcow