Skip to main content
March 16, 2017
Question

Javascript Not Running in Adobe Reader XI

  • March 16, 2017
  • 1 reply
  • 390 views

Hi,

I used adobe acrobat pro XI to create a form with a "Send" command button that runs the javascript below to create an e-mail with standard subject and body text. I am trying to distribute this form to my coworkers that are using the abobe reader XI program so that they have 100% standard work when sending the associated notice. Whereas this button works perfectly for me, nothing happens when my co-workers click it. I've already enabled javascript on their programs and disabled enhanced security, but nothing I see in the online forums is working. Does anyone have any idea what I have to do in order for the Javascript below to work on the adobe reader platform?

var sendto = "netia.ingram@denvergov.org";

var statelicno = this.getField("StateLicNo").value;

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

{

this.mailForm(true,sendto,"","","Denver notice for " + applicationtype + " for " + statelicno,"Hi Ralph,\n\n" + "Please see attached Denver notification for a " + applicationtype + " for " + statelicno + ".\n\n" + "Thanks,");

}

Thanks in Advance!

Netia

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
March 16, 2017

What happens when they click the button, then? Are there any errors in the JS Console (Ctrl+J)?