Skip to main content
February 23, 2012
Question

cfselect populated by database

  • February 23, 2012
  • 2 replies
  • 717 views

I have a cfselect on a form, which is currently being populated from a database (and working).  Is there a way to add an option at the top of the list so that it shows "Select One..." rather than the first item returned from the query? 

Thanks!

Jenn

    This topic has been closed for replies.

    2 replies

    February 24, 2012

    Yes, ofcourse it is there.

    cfselect has an attribute named by "queryPosition". Just set it to "below" and add another option tag, then you  are done.

    Inspiring
    February 23, 2012

    Yes there is.

    To find the documentation that explains it, google "cfselect".