I am using multiselect within a form. I have a form submit button inside the form. We I click on sunmit button all the options that I selected for multiselect is not getting saved.

Can someone please help how this can be achieved. What I want is as the submit button is clecked all the options selected from the list in multiselect should be saved in a session_state key.