What is the correct syntax to put a PDF form file name into the Subject line of a mail.Doc Javascript?
The file name is not part of any field in the form. The file name will also be unique each time the form is used. I also want the file name to be followed by the phrase "proof returned by client", as in:
Subject: Papa Murphys SALEM 8-30.pdf proof returned by client
Here is my existing script, but I need to know the syntax to get the PDF file name added in the Subject line.
this.mailDoc({bUI: true, cTo: "sgeist@mailboxmerchants.com", cSubject: "proof returned by client", cMsg: "Attached is the signed proof. Please forward to the graphics dept"});
I am not very familiar with Javascript so have been trying to piece this together.