Populate text field with the value from a second dropdown based upon the selection made in the first dropdown.

D2464

01-08-2018

Hello. I'm attempting to populate a text field within a repeatable sub form (LiveCycle) based upon the selection made within a dropdown that exists within the same sub form. When the selection is made in the drop down data field, I want to populate the text field with the value from another drop down data field or text field that exists not within/outside of the sub form. I've attempted to do this using JavaScript and nested if then else statements without success. (If subformdropdown = "1" then subformtextfield = dropdown1, else  if subformdropdown = "2" then subformtextfield = dropdown2, etc...). I'm normally able to solve my own coding issues, but not this time.

Any help would be appreciated.

Thanks.

Accepted Solutions (0)

Answers (0)