• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Dec 06, 2017 Dec 06, 2017

Copy link to clipboard

Copied

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.

TOPICS
Acrobat SDK and JavaScript , Windows

Views

392

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 06, 2017 Dec 06, 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>

Votes

Translate

Translate
Community Expert ,
Dec 06, 2017 Dec 06, 2017

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 06, 2017 Dec 06, 2017

Copy link to clipboard

Copied

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"  

    });

}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2017 Dec 06, 2017

Copy link to clipboard

Copied

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>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 07, 2017 Dec 07, 2017

Copy link to clipboard

Copied

LATEST

Looked into this and changed subject to subject1. Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines