Page 1 of 1
Spinner with multiple selections -- possible?
Posted: Thu Jul 12, 2012 7:07 am
by genie
Pardon my noob question...
but, Is it possible to have a spinner that can accomodate more than 1 answers?
We use "iphonePick" whenever I need a picker-wheel, right? But, I guess it only allows user to pick 1 from the list.
Actually, I cannot seem to imagine/picture-out this kind of picker

, but that's what my client is asking me to do. I'm new to LC, so I'm wondering it it's even possible. If not, can anybody suggest an alternative?
Thanks,
Genie
Re: Spinner with multiple selections -- possible?
Posted: Thu Jul 12, 2012 9:22 am
by Dixie
Genie...
Yes it is possible... read page 42 of the iOS release notes regarding the syntax for iphonePick.
A pick-wheel with multiple columns can be created by specifying more than one optionList
initalIndex pair. For multi-column pick-wheels, the result will be a comma separated list of the
chosen items, on item for each column.
be well
Dixie
Re: Spinner with multiple selections -- possible?
Posted: Thu Jul 12, 2012 9:43 am
by genie
Hello Dixie!
Thanks for the response...

Sorry if my question was not very clear, I am referrring to a picker wheel that functions like a checkbox (instead of Radiobutton). So, I need one column only, but I am wondering if its possible to provide many answers to that one column.
Best Regards,
genie
Re: Spinner with multiple selections -- possible?
Posted: Thu Jul 12, 2012 10:43 am
by dave_probertGA6e24
Hi,
The actual iPhone (iOS) Pick Wheel does not do multi-selections natively (As Far As I Know) - so it cannot really be used for what you want. But you could use a 'Field' (probably 'Scrolling List' Field) with 'listBehavior' and 'multipleHilite' selected - that should achieve what you require. But you would need to play with the styling of it a bit to fit in with your app looks.
Hope that helps,
Dave
Re: Spinner with multiple selections -- possible?
Posted: Fri Jul 13, 2012 4:24 am
by genie
Thank you, Dave! I guess I should now forget about the picker wheel...and try what you suggested.

Re: Spinner with multiple selections -- possible?
Posted: Thu Aug 23, 2012 3:18 pm
by david.silmanBUSrUeQ
Just a diff thought, but couldn't you just store the chosen value into an array or something, then allow the user to select another if they want, shouldn't be to hard I'd image.
(Not done any iOS stuff yet so I could be wrong)
David