Thank you, it works. It's ashame it's not an out of the box feature.
Main Topics
Browse All TopicsI am using bind to pull data into a select list, which then binds another select list to display drilled down results. I am unable to use the "selected" value in the cfselect. I want to be able to allow the user to return to the form and have the last selected results display. Here is my code:
<cfselect name="orgid" style="width:600px;" value="orgid" display="fullorg" selected="#form.orgid#" bind="cfc:lib.cfc.orgoffic
<cfselect name="officeid" size="5" style="width:600px;" multiple="yes" value="officeid" display="fulloffice" selected="#form.officeid#"
The binding works fine, just the "selected" doesn't display the form.orgid value (same for the second one).
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Yes, unfortunately that is almost always the 'growing pains' associated with developing 'bleeding-edge' solutions. As I have found over the past 4 versions of CF (and application development in general) - it will take only about 4 weeks longer than you have in any given project for a new version or update to be released which will provide the features that you require.
I've done some more searching, and I can't find or come up with anything simpler - I'm glad, however, that at least this did work for you.
Good luck.
Business Accounts
Answer for Membership
by: digicidalPosted on 2007-10-19 at 01:58:33ID: 20107392
Check out here: com/index. cfm/2007/8 /7/Selecti ng- default -items-usi ng-ColdFus ion-8s-AJA X-Controls
client/ind ex.cfm/200 7/8/7/ Sele cting-Mult iple-Defau lt-Items-W ith-ColdFu sion-8-Aja x- Controls
http://www.coldfusionjedi.
and here (for multis):
http://cfsilence.com/blog/
Essentially you should be able to tweak this so that you first get your passed form value and then resort so that it is the selected default - or don't do the resort if the form value does not exist.
That's all I can think of or find at the moment. Good luck, and hopefully someone else has had more time to play with CFAJAX or spry or similar to maybe suggest a better solution.