I have a custom button that is created and used to set a field in the
record. The button is displayed next to the save and close button. I'm
trying to hide this button (or only show it) if a field contains a
certain value.My code to create the button...