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

Submit to URL

willin2u
Registered: Sep 14 2009
Posts: 16

Is it possible to put the following in the Submit to URL of a button?
 
mailto: sample [at] aol [dot] com?subject="Test" + DeptName +
 
Where DeptName is a field on the form.
 

My Product Information:
LiveCycle Designer, Windows
Profy
Registered: Jul 15 2010
Posts: 19
Instead of using the pre-made submit button do the following.

Select a button and in the Script Editor under the Click event, paste the following:

var oDoc = event.target;

oDoc.mailDoc({
bUI: true,
cTo: "Sample [at] aol [dot] com",
cCc: "Sample [at] aol [dot] com", //If you need to CC an email
cSubject: "Test " + DeptName.rawValue + " Test",
cMsg: "Test " + DeptName.rawValue + " Test", //If you want to put something in the message field of the e mail
});