• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Fill in multiple text fields based on selection from drop-down

New Here ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

Hello.  I am attempting to have 3-6 different text fields automatically populate with pre-determined information based on the user's selection in a drop-down menu.  For example, my drop down will have Red, Blue, Green, Yellow.  If the user selects Red, then Text1 will fill in Apple, Text2 will fill in Fire Truck, Text3 will fill in Rose and Text4 will fill in Tomato.  If the user selects Yellow from the Drop Down, then Text1 is banana, Text2 is sun, Text3 is also banana and Text4 is lemon.  I know it involves JavaScprit, but to be honest, I'm a novice when it comes to that.  Any help would be greatly appreciated!

TOPICS
Acrobat SDK and JavaScript , Windows

Views

456

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 14, 2019 Jan 14, 2019

Here's an article on just this topic, and it comes with a sample file:

https://acrobatusers.com/tutorials/change_another_field

Votes

Translate

Translate
Community Expert ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

Here's an article on just this topic, and it comes with a sample file:

https://acrobatusers.com/tutorials/change_another_field

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

Thanks for the link. I actually found that before, but got stuck at Step 10 - it only refers to Acrobat 7 Pro and Acrobat 8 Pro. My version says Adobe Acrobat Pro DC. Can anyone provide "step 10" for my version? Thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

You'll find it under: Tools - JavaScript - Document JavaScripts...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2019 Jan 14, 2019

Copy link to clipboard

Copied

LATEST

THANK YOU!!!  So appreciate the help from both of you!

[ private informations removed by moderator --> https://forums.adobe.com/docs/DOC-3731 ]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines