5 Replies Latest reply on Sep 18, 2007 10:54 PM by Newsgroup_User

    cfselect selected with bind

    kyle969 Level 1
      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?

      <cfselect name="propertyType" bind="cfc:/com/form.getPropertyTypes()" bindonload="true" ></cfselect>