I have a parent object
Contract__c and a child record
The parent object has a picklist:
Classification: high, medium, low
Risk__c has two record types
low. The fields for these record types are different, and I have created a visualforce page for each record type, because I need to modify the
When the user enters
Contract__c, the user needs to click on the related list button
Create high risk, which opens the high risk visualforce page. I have another button called
Create medium risk, which the user should click if
medium was selected in the
The problem is, I want to only display the high button if high was selected in the picklist, and I want to be able to display the medium button, only if medium was selected. Is that possible?
Otherwise I would be happy to just have one button, which has some logic to decide which page to open. But I wouldn't know how to do that.