Jump to content

2 Multi List Selection Boxes Assistance


mattyt81

Recommended Posts

Hi

 

I have to two multi list select boxes side by side. The first has all the options that the user can select which they can select and transfer to the other multi list select box. I have used javascript to create the buttons which allow you to add and remove selections from the right multi list box.

 

Once I hit submit all the selections go to a mysql database, which is fine.

 

However my problem is that the selected options don't stay in the right hand mulit list box after submission.

 

So I need to know how I can keep them in there, or maybe populate that right hand multi list box with the submitted selections.

 

FYI: once the selections are submitted  they are stored in a text field in mysql database, so I need them to come back, as options in the right hand multi list box.

 

Hope this makes sense

 

Below is a link to something similar, just need to sort out the php side

 

http://www.dhtmlgoodies.com/scripts/multiple_select/multiple_select.html

 

Many Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.