Copy link to clipboard
Copied
I'm using javascript in a pdf form, I have a dropdown that references a location. When the user selects that location, the form is supposed to populate with information related to the location.
I have two issues:
Thank you!
Cindy
Copy link to clipboard
Copied
Did you add a clause in your code to handle those cases?
You will need to post the code, or better yet, the actual file, for further help with this.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
blank space is " " not "" so change:
if(event.value == "")
to:
if(event.value == " ")
EDIT:
When you have two words you need to put them in quotes, it should be "West oaks" and "White Rock"...etc (include quotes also, or it won't work).
Copy link to clipboard
Copied
Thank you!
Copy link to clipboard
Copied
I edited my post check EDIT part.
Copy link to clipboard
Copied
Thank you thank you thank you! It all works great!