• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfselect - need to add option - binding issue

Guest
Jan 30, 2008 Jan 30, 2008

Copy link to clipboard

Copied

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
TOPICS
Advanced techniques

Views

384

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Jan 30, 2008 Jan 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.

Votes

Translate

Translate
Engaged ,
Jan 30, 2008 Jan 30, 2008

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation