-<SELECT ID="<% $opt{'prefix'} %>phonenum" NAME="<% $opt{'prefix'} %>phonenum"
- notonChange="<% $opt{'prefix'} %>phonenum_changed(this); <% $opt{'onchange'} %>"
- <% $opt{'disabled'} %>>
- <OPTION VALUE="">Select phone number</OPTION>
+<SELECT <% $opt{multiple} ? 'MULTIPLE SIZE=25' : '' %>
+ ID = "<% $opt{'prefix'} %>phonenum"
+ NAME = "<% $opt{'prefix'} %>phonenum"
+ <% $opt{'disabled'} %>
+%# notonChange="<% $opt{'prefix'} %>phonenum_changed(this); <% $opt{'onchange'} %>"
+>
+% unless ( $opt{multiple} ) {
+ <OPTION VALUE="">Select phone number</OPTION>
+% }