Hi there
I have two select lists next to each other - I can click on a name in the left
hand side (LHS) box and move the name to the RHS box.
But when I click enter on the form these form items are not displayed in the
dump of the form - as such at present I am unable to use the data that is in
the form.
I'm wondering if anyone has any links and/or javascript for working with two
list boxes on a screen.
Thanks in advance.
<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 selected
value="#people_id#">#People_LastName#, #People_FirstName#</option>
</cfloop>
</select>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290312
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4