« Return to Thread: Checkbox list question

Checkbox list question

by Okke Tijhuis :: Rate this Message:

Reply to Author | View in Thread

Hi,

I'm using the Checkbox list from the contributed tags. I'm running into one little problem with it.
When one value is checked from the list it returns the value as a String. When multiple values
are checked the value is returned as an LString (String array). What is the best way to handle
both outcomes (without resorting to a type check) in the same way? I'm probably overlooking
and easy solution.

At first I didn't know 2 different types were returned so when I used ".each" on the returned value
in the case of one selected value (for instance "82") it uses "8" and "2", not "82".

Regards,

Okke

 « Return to Thread: Checkbox list question

LightInTheBox - Buy quality products at wholesale price