Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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.

Avatar

Level 2

Thank you very much jasotastic81. Its much appreciated.