Pretty simple situation. Have two buttons wired up to the "submit" event, one is to save as draft, other is to actually submit. I just need to know how to tell which button is the sender of the action. Now if this is not possible it would be easy enough to just make them both buttons and create my own submit event to go around this. I just find it hard to believe that in the "sender" there is no way of telling what button actually sent the submit request.
Basically the best answer possible would just give me the path in the sender where the button name, or even the XML path would be.
Any help is appreciated.
Thanks
EDIT: This is now extraneous, i had no idea that Infopath didn't have ID's associated with submit buttons. I just made my own custom code and now i have more flexibility in my code. Only thing I miss out on is some of that baked in Submit goodness, like the dialog boxes and such.