Skip to main content
gcayton78
Known Participant
October 9, 2018
Question

Document Javascript limit?

  • October 9, 2018
  • 1 reply
  • 319 views

I have some code that allows the user to select from a dropdown list, and based on that selection, another dropdown list is populated with specific selections.  Once the user makes a selection from the next dropdown list, 3 text fields are populated (this information is coded into the Document JavaScript).  I am running into an issue where I am trying to add a new selection to the second dropdown list, and its corresponding information to the Document JavaScript, but nothing is happening when I select the new addition (i.e. the text fields stay on the previous selections information).  I've double checked the code and seems correct, it just doesn't seem to want me to add another selection!

Any insight would be greatly appreciated.

Thank you.

Gary

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
October 9, 2018

You need to double-check that the strings in your code are IDENTICAL to those that appear in your fields, including spaces, special characters and upper/lower-case letters.

You can print out the values to the console using the toSource method, to see what they are exactly.