I have created a form in LiveCycle and have added 2 buttons - Save As and Submit by Email (created successfully thanks to the posts in this Forum). Can someone please advise how I can:
1. Add the file name to the PDF document when the Save As button is clicked.
2. Use the file name as the Subject when the user clicks the Submit by Email.
Thank you in advance for your help with this query.
Here is a sample for your save as request.
To determine the file name and use it in the subject you can use for example:
var FileName = event.target.documentFileName;
cMsg: "Bla bla bla...",