Multiselect List Not Posted In Form

Its funny sometimes being experienced we make such mistakes that we never had imagined.


I had to send to form with multiselect values

Multiselect list of form

but these were not getting posted

Funny Reason

I was moving values to right box but values were not selected as you can see in previous image above and I was assuming that values are shifted to right box therefore it should be posted too. So, basically values in multiselect list should be selected before posting as following.

Multiselect list of form

So to overcome this issue, I just added a single line of Jquery to code so that all values after moved to right box get selected too.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">