Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
What happens when they click the button, then? Are there any errors in the JS Console (Ctrl+J)?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now