They don't show up on your form because the items within a select box must
be selected in order to appear in your form dump, simply adding them to the
box is not enough.

On 10/5/07, Toby King <[EMAIL PROTECTED]> wrote:
>
> 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>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290338
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to