I have a form that I will be posting on a website for the customers who wish to participate, to fill out the form and email the data back to me via a submit by email button. What I would like to do is to have two fields from the form included in the subject line and if possible the have the xml attachment named as the customer. The fields I need in the subject line is "Customer_No" and "Customer_Name" as well as the xml attachment being named "Customer_Name".xml, example: ABC Hardware.xml.
Your help in this matter is deeply appreciated.
As mentioned in this post, you need to set the "target" property of the submit button dynamically using scripting.
As for the filename, I don't believe we can control the name of the file. It'll use the name of the pdf document.
Thank you for the quick reply, but I am very new to Livecycle and editing the script. Could you please give me an example?