QuickForm_advmultiselect - can you open the form with the SELECTED list already populated from a data set?
| From: | l Burnerheimerton | Date: | Mon, 29 Aug 2005 15:31:08 +0000 |
| Subject: | QuickForm_advmultiselect - can you open the form with the SELECTED list already populated from a data set? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20634@lists.php.net to get a copy of this message | ||
I'd like to use this to change who is selected for new
AND existing selections.
I have two data arrays I can pass:
- a list of available options (AVAILABLE)
- a list of options I've already chosen (SELECTED)
I'd like to know how to populate the two select fields
with these two data sets.
For example, imagine using this for selecting OR
changing what is in your shopping cart. If I already
have a cart, I want those items to populate the
SELECTED list.
Is this possible? If not, it would be a great(!) feature.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com