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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290075
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4