getSelectedlist is the recommended method.
You must call it in the immediate web hit when a form is submitted.
The web hit must derive from a form submit (button) not an href.
The only way to get what was displayed to the user is to store it somewhere
when you create the list in the first place.
You can only get values at this point.
If a user selects multiple items in a list, then getValue will return a
CSpVector with all the values but in the manual this is not recommended.
Brendan Johnston
TeamND
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, June 22, 1999 7:14 AM
To: [EMAIL PROTECTED]
Subject: [ND] getSelectedList()
Hello,
Is getSelectedList() reliable with CSpListBox/CSpComboBox? I have
been told
using getSelected().getValue() is not reliable for these and to use
getValue() without getSelected(). So I wondered if
getSelectedList() has
the
same problems.
If it does, what is the best way to get the list of all items
selected by a
user in either a CSpListBox or CSpComboBox?
Thanks in advance,
Jill
<< Message: [ND] getSelectedList() >>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]