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

Email Submit button

How do I set up my email submit button so users do not have "select email client" and enter default information regarding their email -ie. it says "select option that best describes how you send mail". I want them to be able to just click on the Email Submit button and automatically go into Outlook with the addresses the form needs to be emailed to already in there. How do I do that? I can't get the New Form Assistant to open since I have already started my document.
0 Replies
You can try the mailDoc() method that allow you to specify receipient's email address, subject,body message...



var myDoc = event.target;

myDoc.mailDoc(

false,

"someone@somewhere.com", "", "",

"Subject goes here.",

"Body message goes here."

);



The sample button can be found from this link below:



http://66.34.186.88/LiveCycleSamples/.3bbb696b.pdf
Hi Jimmy,



Thanks for this... I can use it too! One question though, where do I actually insert this code? Sorry, technical is not my strength...



Any advice that you might provide is greatly appreciated!



Rob

Avatar

Level 2

Thanks for the script Jimmy!  Very useful, just what I was looking for.