get array when submitting a multi-select element