hi
i have designed several forms for different departments to submit daily returns through email. but as it is on a daily basis its would be appreciable if i could use form data such as date to rename the filename and email subject. the clients submits their data in xml format. Is this possible and how please?
Thanks
Jimbo
The email subject is much easier to change. You have two choices.
1) Use JavaScript to modify the underlying XML where the subject line is stored. You can see exacty where the subject is in the XML by selecting the email submit button on your form in LiveCycle Designer and then switching to XML view. Use the "MouseDown" event to make the change.
2) Use the Acrobat JavaScript "submitForm()" function to submit the email instead of the built-in LiveCycle submit button. Like this:
event.target.submitForm();
See this article on using the submitForm function:
http://www.acrobatusers.com/tutorials/2006/submitting_data
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script