Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Dynamic Email with Complete PDF sent

Avatar

Not applicable
I have a Livecycle form with multiple email list and I need to send the complete PDF to the dynamic email can anyone help me please?
1 Reply

Avatar

Not applicable
Create a button - not a submit button.



On the click event here's the code that did it for me:



var email = xfa.resolveNode("ApprovereMail").rawValue + ";"+xfa.resolveNode("AdmineMail").rawValue;

var subject = "Your subject goes here;

var body = "Your body goes here";



event.target.submitForm({cURL:"mailto: "+ email +"?subject=" + subject +"&body=" + body,cSubmitAs:"PDF",cCharset:"utf-8"});