Skip to main content
Participant
Jan 3, 2020 8:01 PM UTC
Answered

PDF form submit button, no minimize button on outlook window

I have a PDF form that works with a submit button. The submit button runs on a JavaScript command (this.mailDoc).

 

When I click the submit button, it does as intended. It opens up an Outlook window, however I noticed the window has no minimize button and there's no way to come out of it except closing the window. 

 

Is there a way to bring back the minimize button? Should the script be amended in anyway?

 

I read somewhere that it can't be done, would like to hear any other opinions.

 

Many thanks!

This topic is closed to new replies. Start a new post to keep the conversation going.
radzmar
radzmarCorrect answer
Community Expert
Jan 5, 2020 9:13 AM UTC

There's no way to control the behavior of the mail application via scriptings in Acrobat. You can only hand over a couple of pre-defined parameters (to, cc, bcc, subject etc.). Since there are several methods to send a file, you can try another one to test if your Outlook behaves differently with it. 

var cTo = "user@company.org",
    cSub = "E-Mail subject",
    cMsg = "Hello,\n\nthis is an e-mail for you."
this.submitForm({cURL: "mailto:" + cTo + "?subject=" + cSub + "&body=" + cMsg, cSubmitAs: "PDF"});

 

1 reply

radzmar
Community Expert
radzmarCommunity ExpertCorrect answer
Community Expert
Jan 5, 2020 9:13 AM UTC

There's no way to control the behavior of the mail application via scriptings in Acrobat. You can only hand over a couple of pre-defined parameters (to, cc, bcc, subject etc.). Since there are several methods to send a file, you can try another one to test if your Outlook behaves differently with it. 

var cTo = "user@company.org",
    cSub = "E-Mail subject",
    cMsg = "Hello,\n\nthis is an e-mail for you."
this.submitForm({cURL: "mailto:" + cTo + "?subject=" + cSub + "&body=" + cMsg, cSubmitAs: "PDF"});

 

Translate