if you need with out code you need to create two record types , one record type need to display all 3 button and another record type contains only one button .
Mark as resloved if it helps :) :) Thanks, Bhanu Prakash visit ForceLearn.com (https://www.forcelearn.com)
You may use javaScript function to acheive this.
Refer below link which has the sample code for the same.
https://salesforce.stackexchange.com/questions/7729/disable-commandbutton-after-first-click-to-prevent-double-submission
https://salesforce.stackexchange.com/questions/7229/using-jquery-to-disable-vf-page-button-onclick
https://www.davehelgerson.com/disable-visualforce-button-when-processing-apexactionstatus/
Please mark it as solved if my reply was helpful, it will make it available
for others as a proper solution.
Best Regards,
Sandhya
Mark as best answer, If it resloves !!
use below script
if you need with out code you need to create two record types , one record type need to display all 3 button and another record type contains only one button .
Mark as resloved if it helps :) :)
Thanks,
Bhanu Prakash
visit ForceLearn.com (https://www.forcelearn.com)
you can hide buttons without javascript , Please follow below code:--
Kindly mark my solution as the best answer if it helps you.
Regards
Mukesh
Try the below code.
Please mark as best answer if its helps you.
Thanks.