Is it possible to have a button that selects an option in a multiselect widget when it is clicked? I would like to do this in a way that would be harmonious with a user also manually selecting other options from the drop down.
An example of this workflow is a form that allows a user to create a sports team. There is a multiselect dropdown with a list of many people that can be added to the team. There are some people however that are not in the list yet, so there is a sub-form where the user can add a new person to the database. The button that adds the new person, also reruns the query that populates the list of people in the multiselect dropdown. Since the user added the person while completing this form, it is assumed that they would also like to add them to the list. As such, I would like the new person to be automatically selected in the dropdown (without removing any of the previous selections), rather than make the user manually select the person they just added.