I am trying to create a button that on "mouse up" will attach the PDF form to an email Cc'd to myself. However when I try and use the codes below to find an email entered into a text field for the To on the email I get zero functionality. I have tried all these methods. Any insight would be appreciated.
this.mailDoc({
bUI: false,
cTo: “email@gmail.com”,
cCC: “email1234@email.com”,
cSubject: “Tony Tenbrink - Invoice”,
cMsg: “Please see the attached invoice. Thank you for your business!”
})
---------------------------
this.mailDoc({
bUI: true,
cTo: =this.getField("TERMS”).value,
cCc: "email@gmail.com",
cSubject: "Invoice",
cMsg: "Please see the attached invoice. Thank you for your business!"
});
----------------------------
var cuEmail = document.getElementById("TERMS").value
this.mailDoc({
bUI: true,
cTo: cuEmail,
cCc: "email@gmail.com",
cSubject: "Invoice",
cMsg: "Please see the attached invoice. Thank you for your business!"
});
-------------------------------
var cuEmail = this.getField("TERMS").value
this.mailDoc({
bUI: true,
cTo: cuEmail,
cCc: "email@gmail.com.com",
cSubject: "Invoice",
cMsg: "Please see the attached invoice. Thank you for your business!"
});