You need to sign in to do that
Don't have an account?
Kalpana Dhanajayaraj
Email VF TEMPLATE QUERY
I need to Display MISSING if both or one of the field is empty(address line1 address line 2)
If both hold values concatenate both and display.
Order Billing address : <apex:outputText value="{"!IF(AND(NOT(ISBLANK(relatedTo.Renewal_Opportunity__r.Order_Billing_Address_1__c)),
NOT(ISBLANK(relatedTo.Renewal_Opportunity__r.Order_Billing_Address_1__c))),
!relatedTo.Renewal_Opportunity__r.Order_Billing_Address_1__c + ' ' +relatedTo.Renewal_Opportunity__r.Order_Billing_Address_2__c ,'MISSING') }">
</apex:outputText>
this is not working .Any help would be great
The above code is not working .there is no error.
If both hold values concatenate both and display.
Order Billing address : <apex:outputText value="{"!IF(AND(NOT(ISBLANK(relatedTo.Renewal_Opportunity__r.Order_Billing_Address_1__c)),
NOT(ISBLANK(relatedTo.Renewal_Opportunity__r.Order_Billing_Address_1__c))),
!relatedTo.Renewal_Opportunity__r.Order_Billing_Address_1__c + ' ' +relatedTo.Renewal_Opportunity__r.Order_Billing_Address_2__c ,'MISSING') }">
</apex:outputText>
this is not working .Any help would be great
The above code is not working .there is no error.
Thanks, Sunil.