Added code for a select form element to handle the multiple attribute.