These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Drop Down List With Multiple Email Addresses

patra
Registered: Oct 19 2006
Posts: 270
Answered

I have created a form which requires users to choose a email address from a drop down list. How I can submit the completed .pdf form to the specified from the list drop down email address.

Thnaks

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You'll have to create a custom mail button and put a JS to the click event.
Don't use the standard send mail button for this action, it won't work.

**************************************************************
var myDoc = event.target;
var address = DropdownList1.rawValue;
var sub = "Returned form....";
var msgBody = "Hello,\n\Your text\nMore text...\n\nKind regards\n";

myDoc.mailDoc({
bUI: false,
cTo: address,
cSubject: sub,
cMsg: msgBody,
cSubmitAs: "PDF"
});
*************************************************************

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs