I am trying to modify a form to add a script so that when it is signed an email is created using fields that will be populated by the user.
currently I have the following script:
var
A = xfa.resolveNode("topmostSubform.Page1.Work_Order__").rawValue;
var
B = xfa.resolveNode("topmostSubform.Page1.NOMENCLATURE").rawValue;
var
PPC = xfa.resolveNode("topmostSubform.Page2.Email_Address_PPC").rawValue;
var
sub = "Work Order Created";
var
msgBody = "The Work Order, " + A + " for the " + B + " program has been created";
event.target.app.mailMsg({
bUI
: true,
cTo
: PPC,
cSubject
: sub,
cMsg
: msgBody,
});
I'm not sure what event I should put the scrip to have the e-mail be created once the document is signed
I'm not sure what event I should put the scrip to have the e-mail be created once the document is signed
Thanks for your help,
John