cf-talk  

cfselect and selected option

Larry Lyons
Wed, 09 Dec 2009 10:06:06 -0800

Greetings all,

A quick question, can you use the selected option in a cfselect when you're 
using a bind, as in:

<!--- OfficeID is coming from another drop down select --->

<cfselect name="office" id="office"
   bind="cfc:cfcs.myCFC.getDivsionsByOffice({officeId})"
   size="1"
   value="divID"
   display="division_abbrev"
   selected="#someOtherQuery.divID#"
/>

many thanks,
larry



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329017
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4