In Livecycle Designer ES2, is it possible to edit the XML of the Submit button to take data from the filled form and put it into the message body of the email? As an example, if I had the following field / values:
firstName / John
lastName / Smith
DOB / 1/1/72
email / [email protected]
The message body of the email would look like this:
Name: John Smith DOB: 1/1/72 Email Address: [email protected]
In order to send email you can use app.mailMsg() function from AcroForms specification. Add a standard button to your form and add the following code to its click event:
Detailes about app.mailMsg() function and similar ones you can find here: http://acrobatusers.com/tutorials/print/dynamically-setting-submit-e-mail-address