Skip to main content
Known Participant
October 31, 2017
Answered

Acrobat form javascript combo not working

  • October 31, 2017
  • 1 reply
  • 1369 views

I am working on a form that contains a drop down box (titled Rep) for the user to choose their rep from.  When the rep is chosen, another field (titled RepEmail) is supposed to populate with the appropriate email address.

When you press submit, the form will be emailed as a PDF attachment to the email address that generated.

I have had this work on two occasions.  The first time it worked the first three times I tried it.  When attempting to show someone how it will work, it didn't do anything.

I reworked every field and calculation again and it worked.  This time I was able to choose different names in the drop down and the email changed appropriately.  I pressed submit form and it popped up the email with the right email address and attachment.

I attempted to show someone... and it stopped.

You can choose a name in the drop down, but nothing generates anywhere else.

I know the JavaScripts are right since they did work once... why would they stop?

I have the cloud Adobe... the latest updates, etc.  Minimal experience with this stuff...

HELP.

This topic has been closed for replies.
Correct answer try67

I don't see any errors, however - I'm very new to this... maybe it being blank is not a good thing?  Here is a link to the file. Quality Report Card_blank.pdf - Google Drive


There are multiple errors in your code. Change the value of any field and then check the JS-Console.

1 reply

try67
Community Expert
Community Expert
October 31, 2017

In what application are you opening the file? Are you opening it inside a browser window?

Known Participant
October 31, 2017

Adobe Acrobat is the program being used.  Not in a browser window.

try67
Community Expert
Community Expert
October 31, 2017

Very strange... Check the JS-Console (Ctrl+J) for error messages.

If you can, share the file (via Dropbox, Google Drive, etc.) and I'll take a look at it and will let you know if I see anything that's problematic.