You need to sign in to do that
Don't have an account?
abc0551
Display multiselect picklist values in vf without semicolon
Hi All,
I have a multiselect picklist value in the vf page. Its a read only field. When I output the field the values appears with semicolon
Currently I am using the below code to ouput the field value
<apex:outputText label="Franchises" value="{!Account.Franchises__c}"></apex:outputText>
and this displays the field values like below
Audi; Acura; Ford
My requirement here is i want to display the values without the semicolons. Can i display each value in a different line?
Eg: Audi
Acura
Ford
how can i do this?
Hi
will you check this...
Did this post answers your question if so please mark it solved so that others get benifited
Thanks
asish
Hello,
Can you try this...., It works in my visualforce page
<apex:outputText escape="false" value="{!SUBSTITUTE(Account.TestMultiSelect__c,';','<br/>')}"/>