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
BedrockMission!

Learn More

View all

Sign in to view all badges

Dynamic Email with Complete PDF sent

Avatar

03-02-2009

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?

Replies

Avatar

06-02-2009

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