Question
cfselect selected with bind
I have a cfselect that is being populated by cfc remotely,
how do I have an option selected by default? Using the selected
attribute does not work, nor does hardcoding an option.
Is there a way to define which option should be selected in the cfc results?
Code:
<cfselect name="propertyType" bind="cfc:/com/form.getPropertyTypes()" bindonload="true" ></cfselect>
Is there a way to define which option should be selected in the cfc results?
Code:
<cfselect name="propertyType" bind="cfc:/com/form.getPropertyTypes()" bindonload="true" ></cfselect>