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
Molson94Molson94 

How to use selectList instead of multiselect?

Hey Everyone,

I have an inputfield that is a defined as a multiselect picklist on the object.
By default that inputfield is displayed as a multiselect picklist on the form.

The problem is that the inputfield breaks my custom form layout when it is revealed/rendered. and overall is rather gaudy. Is there any way to have that field display as a selectList, with the ability to select multiple options? It does not appear that "multiselect" is an attribute available on inputfield.

The only thing I can think of is going back through the controller to build out the selectlist dynamically. Id rather not have to do that.

Thanks!