We have a managed package that contains a custom button. This button currently sits on the Campaign's standard page layout. We would like to check that all the Campaign members meet certain criteria before the javascript of the managed package's custom button executes.
I'm not sure how to approach this, and I didn't want to copy and paste the managed code to my own custom button. Is it possible to execute the code of the managed package's custom button from a different custom button?