in reply to Re: Splitting a scalar variable problem
in thread Splitting a scalar variable problem

Poj, Hi.

I made another modification to my code. Instead of having a popup menu, I changed to a multiple scroll list. So, people can choose more than one color.

When I try to select to select multiple colors for an item, only the first color of the list appears in the cart.

Here is the modified code for the multiple scroll list...

td ({-colspan => "3", -align => "right"}, "Colors:", scrolling_list( - +name => "color", -size => 2, -multiple => 1, -values => \@color))),
This is the only change I made to the code. Can you give me a hand in figuring out why choosing more than one color results in printing of only one color? The rest of the code is in the original node. Thanks for your help.