Skip to main content
Participating Frequently
January 18, 2020
Answered

Fillable form - Autopopulate fields with multiple options

  • January 18, 2020
  • 1 reply
  • 2069 views

I don't know if this can be done. I am pretty new to adobe. I already know how to make text boxes that autopopulate the same word (so if A is entered into textbox1 all the boxes fill in with A).

 

I want to know if there is a way to do like if A is typed into the textbox then the other textboxes will be filled with either B,C,orD randomly.

This topic has been closed for replies.
Correct answer try67

Thank you for the replies. I know nothing about writing scripts. Could you point me somewhere I could learn?


If you only need this one script it will be a very steep learning curve.

I've actually already wrote this script for you and embedded it into this file: https://drive.google.com/file/d/12sebjm-Cnrkzh6XhQZBXF8YE2G4xkVcW/view?usp=sharing

1 reply

try67
Community Expert
Community Expert
January 18, 2020

It's possible, but you need to better explain how this is supposed to work. If the number of the other field is a random one, what does it have to do with the value of the first field? Or is it random, but from a group of possible values based on that original value? Please clarify.

Participating Frequently
January 18, 2020

Sorry for the confusion.

For example if someone put 15 in box A then the other boxes can be filled with 10+5, 14+1, 13+2, etc. Like there is a list of options but its random which one is assigned to the boxes.

 

Hope that helps

try67
Community Expert
Community Expert
January 18, 2020

I still don't quite follow... So the boxes need to be filled in with forumlas that produce the same number as the one the user entered?