+ Start a Discussion

How to retain the selected values for the input fields(multi select picklist)?

In a visual force page,i am using input fields(multi select picklists) and those are required.If i leave any field and tries to submit,it will throw an error message and remains in the same page.The problem is,it is not retaining the values what i am selected.

Please provide me the solution to retain the values for the input fields.
Could you post your getter and setter??Java style or .Net style??