I would really like to do it via rules and actions. However, my goal is to close the form and the application. From what I understand, this can only be accomplished via code. I noticed when I ran the "Submit to: Email", the OnSubmitRequest(eventObj) did not fire. Therefore, it seems to be [Use rules but can't close app] vs [Use code and close app].
Guess I need a better understanding of the "Submit to: Email" confirmation of success/fail as its kind of confusing. In my code in the previous post, I get an error message when I click submit then cancel. The error message says "The form was not submitted because the action was cancelled." but then my custom failure message I setup in the rules appears. But when I use rules/actions to submit, my custom failure message doesn't appear when I hit submit then cancel.
Right now, I would like to at least get it to a point where it doesn't produce an error flag if I click submit then cancel. Suggestions?
BTW: CC'ing the sender as a "receipt" is a good idea for a confirmation. I can also just provide a popup to check their send box to confirm it was send (if they keep their send emails).
Don't grow old regretting the things you didn't do.