I have a custom object called P. P has many custom fields in it. One of the custom field is called obj, which is a picklist value. The value are following:
I am creating a VF page named letter which gets the fields of the page 'P' and displays in the page letter. I would like this picklist values to be expanded and displayed in the page letter. So when user has selected any or all of the picklist values in the field obj, the letter should display its corresponding expansion which are :
- "As soon as possible,"
- "respond, if you please."
- "Bring your own bottle"
I tried this using Formula(text) custom field in 'P' page. Named it as obj_expansion(API- object_expansion__c) and applied the below formula:
IF(INCLUDES(obj__c, "RSVP"), "respond, if you please.", null) & IF(INCLUDES(obj__c, "ASAP"), "As soon as possible", null) & IF(INCLUDES(obj__c, "BYOB"), "Bring your own bottle", null) &
But this does'nt seem to work. Any suggestion how can go about this?