You need to sign in to do that
Don't have an account?
VF Email Template IF statement to conditionally show field value
I've hit a road block trying to conditionally show a value based on a picklist field and looking for some assistance as to what I am doing wrong.
I am trying to show the field value of "Other_Shipping_Address__c" if the picklist value of 'Other' is selected from the field Hardcover_Book_Ship_to_location__c.
I've tried the following IF statement but keep getting the error of Error: Incorrect parameter type for function 'ISPICKVAL()'. Expected Picklist, received Text
{!IF(ISPICKVAL("{!relatedTo.Hardcover_Book_Ship_to_location__c}", 'Other'),"{!relatedTo.Other_Shipping_Address__c}", NULL)}
try above code snippet.
All Answers
try above code snippet.