Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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


Level 1

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.


0 Replies