I have used this piece of code to within a button to send a file to 2 desginated recipients and included a text field as the subject line.
var customSubject = this.getField("Text1").value;
var mailtoUrl = "mailto:firstname.lastname@example.org;email@example.com?subject=" + customSubject;
cURL: mailtoUrl, cSubmitAs: "PDF" });
Whilst this works well, I would like to name the file the same as the Text1 field when sending the mail.
Any help is much appreciated.
In order to do that you have to install a script file on the local machine of each user who will be using the file.
If that's not possible you can only ask the user to save the file under this name, and if they don't refuse to submit it, but you can't enforce it.
Thank you for your input. I won't be doing that; I am buidling something that essentially can be executed on a mobile phone and sent to mail recipients. I just wondered if there was a way this could be done on the submitting of the email.
I am using PDF expert on my mobile device.
On a mobile device it's not possible at all.
It works a treat from my iphone using PDF expert
I was referring to saving the file under a specific name.