I don't follow "I'm struggling with how to use the names in the right hand side box." ??
On 10/3/07, Toby King <[EMAIL PROTECTED]> wrote: > Hi there > > I have a piece of code that doesnt seem to be working and at present I cant > fathom why not. Well part of it is working but I'm stuck on finalising > getting it finished. > > Basically I am placing 2 boxes on the screen - a list of names in the left > box and an empty box on the right. A user can click on a name in the left > box and move the name to the right. > > I'm struggling with how to use the names in the right hand side box. > > Here is the code that I have so far: > > <select name="available" size="10" style="width:200;" onChange="moveOver();"> > <cfloop query="getpeople"> > <option value="#people_id#">#People_LastName#, > #People_FirstName# > </cfloop> > </select> > > <cfset selectedpeople = ""> > <select multiple name="choiceBox" style="width:200;" > size="10"> > <cfloop query="getselectedpeople"> > <cfset selectedpeople = > listappend(selectedpeople, people_id, ";")> > <option > value="#people_id#">#People_LastName#, #People_FirstName# > </cfloop> > </select> > > Any tips would be greatfully received. > > Regards > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290082 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

