Replace multiple with multiple="yes"
------------------------------------------------------------------
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
------------------------------------------------------------------
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
------------------------------------------------------------------
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 488 9131
------------------------------------------------------------------
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890.
-----Original Message-----
From: Paul Ihrig [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 13:57
To: CF-Talk
Subject: Updating a multiple select box dynamically. question?
Hello all.
i have a update page that has a Multiple Select box that i want to be able
to dynamically up date.
now if there has only been one prior selection, then it shows up in the
update select box.
but if there has been more then one selection made, then nothing shows up.
i hope you know what i mean!
any help would be great!
thanks
-paul
<select name="Consultant_Types_ID" size="3" multiple>
<cfloop query="rs_Consultant_Types">
<option
value="<cfoutput>#rs_Consultant_Types.Consultant_Types_ID#</cfoutput>"
<cfif (#rs_Consultant_Types.Consultant_Types_ID# EQ
#edit.Consultant_Types_ID#)>SELECTED</cfif>>
<cfoutput>#rs_Consultant_Types.Consultant_Types_Name#</cfoutput></option>
</cfloop>
</select>
-paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists