NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alan Telford on February 03, 2009, 07:10:11 PM

Title: Multi-Select on DROP lists
Post by: Alan Telford on February 03, 2009, 07:10:11 PM
How do I use multi-select on DROP lists?
Is there an example provided?

I want the admin person to select which of a set of branches a user is allowed to view. I thought the "multi-select" might be just the trick.

Alan
Title: Re: Multi-Select on DROP lists
Post by: Bruce on February 04, 2009, 06:32:30 AM
I don't have an example of this yet.
Doing the "multi-select" on the list is easy enough, there's a template setting for that.

However you have to "manually" interpret the selection, since it bangs all the items into single field.

Cheers
Bruce
Title: Re: Multi-Select on DROP lists
Post by: kevin plummer on February 04, 2009, 03:40:53 PM
Hi Bruce,

With this control are we able to set it as dropped like we can in windows so a user can see what has been selected without clicking on the drop box.

If not, is the only other option a browse with tick boxes?
Title: Re: Multi-Select on DROP lists
Post by: Bruce on February 04, 2009, 10:45:36 PM
Hi Kevin,

it's been a while since I played with the multi-select (which is only mildly useful it must be said, as it has some rather sever limitations - like only 1 column, no sorting etc) - but as I recall it's a "drop list" control, with multi-select set on.

It becomes not a drop list, but a normal browse list, so the multi-selected items are visible.
It does support the shift-clcik, ctrl-click behaviour though.

cheers
Bruce
Title: Re: Multi-Select on DROP lists
Post by: Alan Telford on February 08, 2009, 03:09:30 PM
I think Kevin's question (and mine) is can we get the multi-select drop to re-display the selections if the form is reloaded.
e.g. The user enters a form, and selects 3 out of 10 items from the drop down list.
This returns a variable with a string ";|;ID1;|;ID2;|;ID3 ....".

But if I reopen the form with the same variable, the multi-select list shows ZERO items selected. A normal drop list shows the item that was selected.
Can the multi-select show the items that were selected last time?

Alan