On the Opportunity record, I have a requirement that once in the "Close Bid" business process flow stage, when either of the fields "Date Submitted" or "Proposal Submitted", that only then will a user see the 'Close as Won' button in the ribbon, else, it is hidden.
I currently have this button hidden with Ribbon Workbench, and am using a custom field and a workflow to close the record, but am running into some issues when reopening, etc.
Does anyone have sample code to show/hide the button based on the above? This way my issues will be resolved, and the users can have the full OOB Close as Won dialog box functionality. Let me know, thanks!