Skip to main content
January 30, 2008
Answered

cfselect - need to add option - binding issue

  • January 30, 2008
  • 1 reply
  • 425 views
Hi,

I'm using the cfselect tag. I'm binding the options to the tag using a cfc. I used to be able to insert additional <option> tags like this <cfselect><option><option></cfselect>. Using the binding cfc, the <option> tags aren't showing up. Thoughts?

Here's the code:

Thanks!

cfwild
This topic has been closed for replies.
Correct answer c_wigginton
Not a clean answer, but maybe this might work for you in a pinch. Generate the null first option in the query using a union statement or add it post query using the code below.

1 reply

c_wiggintonCorrect answer
Participating Frequently
January 30, 2008
Not a clean answer, but maybe this might work for you in a pinch. Generate the null first option in the query using a union statement or add it post query using the code below.