Skip to main content
Participant
October 25, 2018
Answered

Javascript in Forms not working for other users...

  • October 25, 2018
  • 1 reply
  • 918 views

Hi --

I've made a form that has drop down menus. When a user selects an option from the drop down menu, the menu changes color (this matches a color in another part of the form). Everything works perfectly on my own computer. However, when I send someone the form to test, the drop down menu is there and the choices are available, but there is no color change.

Any thoughts about how I can have the form "require" the script to work? The color changing feature is a helpful indicator for the form and ties everything together.

I'm a coding novice, but I am good at following instructions!

Thanks for any help

//andrew

This topic has been closed for replies.
Correct answer George_Johnson

That script will work in the desktop versions of Acrobat and Reader, and some other non-Adobe PDF viewers. Other PDF viewers don't support JavaScript, or have limited support, so it won't work in those.

1 reply

Inspiring
October 26, 2018

If they're using Reader or Acrobat, they probably just have field highlighting turned on. If they turn it off, it should work as expected.

Participant
October 26, 2018

The form will go out to many and I can't account for their behavior or use. Is there a way I can force the form to not use field highlighting so that the more subtle and helpful features work?

//andrew

UPDATE: I found this script >>

app.runtimeHighlight = false;

And that seems to have affected the highlighting issue, but the drop down menus still don't work for other users (while still working on my machine). Other thoughts? Should I attach the document? I don't know whether that's kosher or not.

George_JohnsonCorrect answer
Inspiring
October 26, 2018

That script will work in the desktop versions of Acrobat and Reader, and some other non-Adobe PDF viewers. Other PDF viewers don't support JavaScript, or have limited support, so it won't work in those.