Question
cfselect selected=
I'm using the code below for my form, so the form is
pre-populated with data passed from a 'update' link. However, if I
then use the drop down, it shows the selected option (from the
data) but also shows that option again as an option in the
dropdown...is there a way to not duplicate the option in the
dropdown?
many thanks in advance
code:
<cfselect name="status" >
<option selected="#formfiller.status#">#formfiller.status#</option>
<option value = "Pending">Pending</option>
<option value = "Won">Won</option>
</cfselect>
many thanks in advance
code:
<cfselect name="status" >
<option selected="#formfiller.status#">#formfiller.status#</option>
<option value = "Pending">Pending</option>
<option value = "Won">Won</option>
</cfselect>
