Back in the day (I'm sure few of you remember) one would add validation script to buttons -- if the function returned true the button action continued else it would just stop.
In the ribbon it doesn't appear to have the same functionality. Looks like I can control button enablement via javascript but, not the firing of the action. E.g. Opportunity Create Order fires action of CloseAsWon. Is there a way to check a condition OnClick and have the action either proceed or be interrupted?
All I can see is how to check the condition -- and flash the alert -- on form load while using an enable rule. I.e. onLoad vs onClick.
Am I missing something?
TIA
-md