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

Drop-down lists and text fields

Avatar

Not applicable

I want the selection from a drop down list to determine which of 5 other text fields show

The textfields are not wrapped in subform.  Do they need to be?

The form is expandable

What is the JavaScript to enable this to happen?

eg

Dropdown list item A

Text field first visible

Text field second visible

Text field third invisible

Text field fourth invisible

Text field fifth invisible

Dropdown list item B

Text field first invisible

Text field second invisible

Text field third visible

Text field fourth visible

Text field fifth visible

Text field first invisible

Text field second invisible

Text field third invisible

Text field fourth invisible

Text field fifth visible

0 Replies