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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
Adobe Summit 2023 | Complete list of AEM Sessions & Labs
SOLVED

Please help guys -Hiding fields based on drop-down menu - javascript - exit (adobe livecycle)

Avatar

Level 2

I am trying to hide some fields on a form based on any value selected from a drop-down menu as shown in the image below. My main drop down has values like $25, $50 $75 and based on what value is selected i want to two hide text field and date field i have created. Also when a value of $1000 is selected i want to hide the "manager ($25-$100) field"

hidefields.jpg

1 Accepted Solution

Avatar

Correct answer by
Level 7

This is how I would solve the problem. Note that the numbers used in the comparisons come from the bindings in the drop down.

754290_pastedImage_0.png

I don't know if it solves your problem exactly, but it should at least get you on the right track.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 7

This is how I would solve the problem. Note that the numbers used in the comparisons come from the bindings in the drop down.

754290_pastedImage_0.png

I don't know if it solves your problem exactly, but it should at least get you on the right track.