You need to sign in to do that
Don't have an account?
Manjunath BN
Changing a picklist to multi select picklist
Hi all,
Is is possible to change a picklist to multiselect picklist on vf page based on the requirement.
For example: Multichannel is a field. If is true then that picklist must be multi select and if it is no then it should be remain as a picklist.
How can I implement this in the VF page..............
Thanks in advance
Pass this method by passing the object picklist filed. Like: class.getSelectOptionListByField(Account.Type)
This will give you select option list that field. Now on page you can use this with multiselect attribute.
Use multiselect = false for single select and true for multiselect