I am hoping to send an email from a pdf that sends the link for where the pdf form is on the local drive rather than the physical copy of the pdf form.
I have figured out how to place the link of the location of the file into the body, but I can't figure out how to disable the file attachment part of the submit button.
Is there anyway to disable the attachment when you use the submit command? I have tried playing with EmailButton.resolveNode("$..#submit").format but can't change it to nothing. And if the submit button my submit something is there any other way to send an email without using the submit command?
Solved! Go to Solution.
You can do it by scripting your own submit button.
So use a regular button and put the following on the click event of the button. The operators can point to field rawValues instead of hard coding the values (cTo, cCC, cSubject, cMsg).
var oDoc = event.target;
cSubject: "This is my email subject",
cMsg: "This is my email message"