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

cfselect - getting started

New Here ,
Mar 15, 2013 Mar 15, 2013

Hi all. I'm novice and would like to use cfselect to populate a drop-down list with a query but I haven't been successful so far, can someone tell me what I'm missing?

It's a financial application and I just need a drop-down of accounts (like 'utilities,' 'supplies,' etc.) . . .

The code I'm using is:

<cfselect name="formCategory" cfquery="categories" value="category"></cfselect>

But it doesn't work. (Sorry, I can't see the error message because I'm using a shared server and the specific message doesn't display.) My 'categories' query is a very simple list of the account names with the column name 'category'.

Why isn't this working?

Thank you.

TOPICS
Getting started
430
Translate
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
LEGEND ,
Mar 15, 2013 Mar 15, 2013
LATEST

You need a display attribute.

Translate
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