Skip to main content
Participating Frequently
November 2, 2022
Question

Auto fill based on name drop down menu

  • November 2, 2022
  • 2 replies
  • 746 views

I have a fillable form I made. At the bottom I need it to auto fill based on a name.  

 

I have a drop down list of 14 names

 

I need the age, Address, and phone number to be auto filled based on the name selected. 

 

How do i do this.  I know I need a mast list somewhere that way it knows the data to enter. Where is this put. I made it in excel for now. 

 

Some one please help me with the script I have to enter.  This is whooping me

 

 

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
November 2, 2022

In addition to Thom's excellent tutorials (and the many posts here on the subject), I also wrote a script that does it for you, so you don't need to write any code yourself. Just run it on your spreadsheet (after saving it as a text file), and it takes care of everything. It's a (paid-for) tool that can be found here: https://www.try67.com/tool/acrobat-populate-fields-from-dropdown

 

RTRIP9Author
Participating Frequently
November 2, 2022

To add to this. I have read so Mny post on this. Why is there not an answer to the most asked question. 

Thom Parker
Community Expert
Community Expert
November 2, 2022

Actually, I know for a fact that I and many other frequent posters have answered this exact question many times. And many times recently. In fact, I wrote articles on this topic over a decade ago.  It may be that the asking overwhelms the answering 😉

 

So read these:

https://www.pdfscripting.com/public/List-Field-Usage-and-Handling.cfm

https://acrobatusers.com/tutorials/change_another_field/

https://acrobatusers.com/tutorials/list_and_combo_in_lc/

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
RTRIP9Author
Participating Frequently
November 3, 2022

Read thus and tried it. Didn't work.