How could I create a select form element that has more than one options selected as default options? Does the form API allow it?


Solved it my self using this example Default value is used to set multiple options preselected. It should be array of list for preselection

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.