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

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.

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

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>

TOPICS
Acrobat SDK and JavaScript, Windows

Views

96

Likes

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

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

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.

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

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>

TOPICS
Acrobat SDK and JavaScript, Windows

Views

97

Likes

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
Dec 06, 2017 0
Most Valuable Participant ,
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?

Likes

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
Reply
Loading...
Dec 06, 2017 0
New Here ,
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"  

    });

}

Likes

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
Reply
Loading...
Dec 06, 2017 0
Most Valuable Participant ,
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>

Likes

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
Reply
Loading...
Dec 06, 2017 0
New Here ,
Dec 07, 2017

Copy link to clipboard

Copied

Looked into this and changed subject to subject1. Thanks

Likes

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
Reply
Loading...
Dec 07, 2017 0