Skip to main content
Participating Frequently
December 6, 2017
Answered

I can Submit a from created from Adobe Acrobat Pro DC but cannot submit it when using Adobe Reader XI

  • December 6, 2017
  • 1 reply
  • 729 views

I have created a Form with a submit button that sends to different locations based on the result of 1 drop down menu created using Adobe Acrobat Pro DC. The problem I have is that those who will be using this form only have Adobe Reader XI, and when sent to them the submit button fails to work. I have java scripted the button so not sure whether this is where the problem lies. Please assist.

This topic has been closed for replies.
Correct answer try67

Press Ctrl+J to open the JS Console. I bet there will be an error regarding

the "subject" variable. Change its name to something else.

On 6 December 2017 at 11:21, jasonk16545182 <forums_noreply@adobe.com>

1 reply

try67
Community Expert
Community Expert
December 6, 2017

How does it fail, exactly? What happens when they click it? Is there an error message of some kind?

And what code did you use?

Participating Frequently
December 6, 2017

Nothing happens when this click the Submit Button. No errors or anything. It just fails to open the email window.

var Dropdown1 = this.getField("Dropdown1").value;

console.println("Dropdown1:="+Dropdown1);

var email = "";

    var subject = "";

    var CC = "";

    var body = "Please see attached for SRI.";

if (Dropdown1 == "North - Constructive")

{

    email = "Specific Email Addresses";

    subject = "Constructive SRI";

    CC = "Specific Email Addresses";

}

else if (Dropdown1 == "South - Electrical")

{

    email = "Specific Email Addresses";

    subject = "Electrical SRI";

    CC = "Specific Email Addresses";

}

else

{

     email = "Specific Email Addresses";

}

if (email != "")

{

this.submitForm({

            cURL: "mailto:" + email + "?CC=" + CC + "&body=" + body + "&subject=" + subject,

            cSubmitAs: "PDF"  

    });

}

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
December 6, 2017

Press Ctrl+J to open the JS Console. I bet there will be an error regarding

the "subject" variable. Change its name to something else.

On 6 December 2017 at 11:21, jasonk16545182 <forums_noreply@adobe.com>