function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CwestonrCwestonr 

Milti Select field Height work around

We have known for some time if <select mult.....> object size in the system is non functional  all multi selects are 3 high in visual force.

 

 

this java script will allow you to apply height to your vf select multi fields.

Place the following on the VF page at the end before the   :

</apex:form></apex:page>

 

The script that willl  set the height to 15 lines

 

 

 

 

 

<script language="JavaScript" type="text/javascript"> var selected=document.getElementById('{!$Component.idpath.idname}_selected'); var unselected=document.getElementById('{!$Component.idpath.idname}_unselected'); selected.size="15"; unselected.size="15"; </script>

 

</apex:form>
</apex:page>