Skip to main content
December 6, 2017
Question

Totally Lost - Java Coding

  • December 6, 2017
  • 1 reply
  • 471 views

FIrst I apologize if Java is not what i need to be doing in this situation.   But I own a wheelchair service and we want to go paperless for the drivers.  So i created a

pdf file ( by the help of google and youtube),  and so far its gone well.  But now I'm stuck.   I have realized there is alot that goes on in PDFs that requires Java Coding.

What I am trying to do is this:   I have a dropdown box that list our local facilities.  Under that i have text boxes for address, city, state, zip.  What i would like to do is make it where when they click a facility name that the other info auto populates.  But I cant find anything on how to do this or even if its possible.  Again I apologize if this is not a Java task but any help Id greatlly appreciate.  Thanks

Travis

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
December 6, 2017

It's not Java, it's JavaScript. Similar names, but quite different languages.

What you describe can be achieved, but it's not super simple. You can read this tutorial that explains how to do it: https://acrobatusers.com/tutorials/change_another_field

Or, if you're interested, I've developed a tool that allows you to set it up without having to write any code. All you need to do is have a text file with the data and the tool will take care of the rest for you. You can find it here: Custom-made Adobe Scripts: Acrobat -- Populate Fields From Dropdown

December 6, 2017

I appreciate your help.  The more i started to dig around to figure it out the more i reallized it my be harder than i thought and possibly over my head with this.  Thanks for the link i'll deffinatly check that out.  But your program have you had success with it?  i mean as far as beginners go being able to figure it out.  Before i found this community i went as far as just trying to find a company that would build my form for me but even with that i had no luck.  But again i thank you and have a great day my friend

try67
Community Expert
Community Expert
December 6, 2017

Yes, of course, I have people using it without any knowledge at all in scripting. It's not required.

And in case of any issues I'm always happy to help out over email.