I'm trying to set up a CFSELECT using the SELECTED option.  I need to have
the CFSELECT set up as multiple since more than one option is permitted.
However, I can never seem to get the SELECTED option to properly highlight
the options that are already stored in the record.  (In other words, I want
to create an edit screen where the previously stored values are preselected
in this control.)  Any thoughts on what I may be doing wrong?  The code for
my select follows:  (Note that ViewGrid is a grid from which the user
previously selected this record.  I've also tried doing this from a query
with the same result - nothing is selected.)

<cfselect name="FinanceType" size="2" selected="#ViewGrid.FinanceType#"
multiple>
<option value="Single Family Housing">Single Family Housing</option>
<option value="501(c)(3)">501(c)(3)</option>
<option value="Hospital Revenue">Hospital Revenue</option>
<option value="Leasehold Revenue">Leasehold Revenue</option>
<option value="Multifamily Housing">Multifamily Housing</option>
<option value="General Obligation">General Obligation</option>
<option value="NID">NID</option>
<option value="Special Obligation">Special Obligation</option>
<option value="Industrial Development">Industrial Development</option>
<option value="TIF">TIF</option>
<option value="TDD/TC">TDD/TC</option>
<option value="Other">Other</option>
</cfselect>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to