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

how to make email submit button use default email program

lisaholm
Registered: Aug 29 2007
Posts: 3

I have created a form with an email submit button. I want to send it to a number of people outside of our organization, who will be using all kinds of email programs. The test copies I sent to coworkers all want to use Outlook to email the completed form. Is there a way for the email function to use whatever their default email program is?

My Product Information:
LiveCycle Designer, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
Yes, the Submit button function will automatically open the default email application of the user. Your task is to determine in what format (html. pdf, fdf) you want to receive the completed form. You can set these parameters in the Submit button properties dialog box.

Here are two button JavaScripts that you might consider:

Example 1
this.mailForm(true);

Example 2:

var cResponse = app.response({
cQuestion: "To copy yourself, enter your email address. Click cancel to send data without sending a copy to yourself",
cTitle: "emailAddress", }); // title of the dialog box
{
if ( cResponse == null)
this.mailForm(true, "xxx [at] yourcomany [dot] com", "", "", "Purchase Order");
else
this.mailForm(true, "yyy [at] yourcomany [dot] com", cResponse, "", "Purchase Order");
}

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.