Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Dynamic Email with Complete PDF sent

Avatar

Former Community Member
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

Former Community Member
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"});