0
cfselect - getting started
New Here
,
/t5/coldfusion-discussions/cfselect-getting-started/td-p/4952389
Mar 15, 2013
Mar 15, 2013
Copy link to clipboard
Copied
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/coldfusion-discussions/cfselect-getting-started/m-p/4952390#M154485
Mar 15, 2013
Mar 15, 2013
Copy link to clipboard
Copied
You need a display attribute.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

