On opportunity object I have a picklist with values: 'Y' and 'X'. When opportunity has 'X' value user should be able to click button if has 'Y' when user click the button then should receive a information that value 'X' is needed to proceed.
Only value 'X' should allow click the button.
Does anybody know how in Salesforce achieve this ?