I have 2 buttons on a form. I want to call one validate function and perform 1 of 2 actions based on what button was pressed. How can I first determine what button was pressed in the validate funtion, and then two, how do I specify the action within the validate function.