You need to sign in to do that
Don't have an account?
PProkes
Mandatory custom button based on field data
When a user enters an amount equal to or greater than $125,000 in the "Amount" field on the "Opportunity" page, how can I make a Custom Object button (currently named "New Residual Request") mandatory for that opportunity?
As per my understanding,
you are trying to show/Hide one Custom Button on opportunity page Layout
If yes following is solution for your problem.
By using standard functionality, we can not show/hide any button based on the record data .... As we can not add any code in PageLayout :(
Following is workaround for your problem:
As we can assign different Pagelayout based on the object record type, What you can do change record type of your Opportunity When Amount will cross your criteria.
Steps:
This is tested solution, Hope This will help you. If it works for you mark this post as solved
Thanks ,
Bala