I am trying to figure out how to have a certain value as my selected value in a cfselect that is running a cfc?
I am running a cfc, but when someone saves that answer in the database, when they go back into the form. I want the answer they saved to be the selected answer. Has anyone done this before.

Recommended Answers

All 3 Replies

I used the one from Ray Camden.

Cool. I like the 1st one (server side), but it's good to have choices ;-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.