How to determine which button caused submit - InfoPath Dev
in

InfoPath Dev

How to determine which button caused submit

Last post 09-01-2013 03:53 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-26-2013 07:53 AM

    How to determine which button caused submit

    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.
    Filed under:
  • 09-01-2013 03:53 PM In reply to

    Re: How to determine which button caused submit

    This is a duplicate post. Please don't do that. We do review and answer 90%+ of all posts at the end of the week. Duplicate posts is a waste of time.

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.