I'm new to Salesforce, so if this is trivial, accept my apologies in advance.
I have a button that points to an internal website. This button grabs looks at a custom field and uses that custom field as a passable parameter. The button is working as it should, but I'm needing more functionality.
What I'm looking to do is hide the button or display a popup message if my custom field is blank.
EDIT: So it looks like Javascript is what I'm looking for since we cannot hide the button.
This is what I have right now when I click a button. It opens up an internal report and passes the parameter that is in the KEY4__c custom field:
http://linktoreportserver/Parameter={!Lead.KEY4__c}
If the KEY4__c field is empty or null, I want it to send a popup to the user. If there is data, I want it to go to the URL above.