You need to sign in to do that
Don't have an account?
EH
I need some assist with this IF statement. I've tried the following IF statement but keep getting the error: ArgumentError: Incorrect parameter type for function 'ISPICKVAL()'. Expected Picklist, received Text
Can somebody assist me with formatting this correctly:
{!IF(ISPICKVAL(Event.Affiliate_Location__c, "New York"), "address 1", !IF(ISPICKVAL(Event.Affiliate_Location__c, "Denver"), "address 2", "address 3"))}
I keep getting: ArgumentError: Incorrect parameter type for function 'ISPICKVAL()'. Expected Picklist, received Text
{!IF(ISPICKVAL(Event.Affiliate_Location__c, "New York"), "address 1", !IF(ISPICKVAL(Event.Affiliate_Location__c, "Denver"), "address 2", "address 3"))}
I keep getting: ArgumentError: Incorrect parameter type for function 'ISPICKVAL()'. Expected Picklist, received Text
Is Event.Affiliate_Location__c a picklist field? I dont see any issue with the syntax of IF() condition.
Thanks
Can you try like below.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
I guess you are trying that in a formula field, can I know what is that { at the beginning } at the end? I don't think we need that. Also, what is that ! sign before each IF statement. I guess that is causing the issues. If with ! you mean NOT that I would suggest to write this entire thing like this but I don't understand this NOT part
I hope this will help you get rid of that issue.
Regards,