You need to sign in to do that
Don't have an account?

Submit for Approval Button Need to Hide/De-active
I don't want to show the error message page/url when the record doesn't meet the criteria.

I want to Hide/de-activate the "Submit for Approval button", if record doesn't meet the criteria.
I want to Hide/de-activate the "Submit for Approval button", if record doesn't meet the criteria.
If you want to hide the button then you need to override the Detail page. You can try custom button
http://ofthecloud.blogspot.in/2013/09/custom-alert-message-on-salesforce.html
Please let us know if this button will help you
Thanks
Amit Chaudhary
All Answers
If you want to hide the button then you need to override the Detail page. You can try custom button
http://ofthecloud.blogspot.in/2013/09/custom-alert-message-on-salesforce.html
Please let us know if this button will help you
Thanks
Amit Chaudhary
The code is working fine. but now i am unable to delete/remove the "Submit for approval" button from the Related list of Approval (Approval History).
I need to write the Jscript/Jquery for hiding the same or any other sol for this ?