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
Kalpana DhanajayarajKalpana Dhanajayaraj 

Concatenating fields

Order Billing City/State/Province/Zip Code:<apex:outputText value="relatedTo.Renewal_Opportunity__r.Order_Billing_City__c + ' ' +relatedTo.Renewal_Opportunity__r.Order_Billing_State_Province__c+ ' ' +relatedTo.Renewal_Opportunity__r.Order_Billing_Zip_Code__c"></apex:outputText> <br/> 
I want to concatenate the above fields and display.
But its not working.
Any assistance will be of great help
 
Best Answer chosen by Kalpana Dhanajayaraj
mayurmayur
Order Billing City/State/Province/Zip Code:<apex:outputText value="{!relatedTo.Renewal_Opportunity__r.Order_Billing_City__c + ' ' +relatedTo.Renewal_Opportunity__r.Order_Billing_State_Province__c+ ' ' +relatedTo.Renewal_Opportunity__r.Order_Billing_Zip_Code__c}"></apex:outputText> <br/> 

Try this code.

Thanks,
Mayur