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

SOLVED

Show/hide dialog field with change in value in textbox dialog field

sreekalyanip
Level 3
Level 3

Is there any way that we can show and hide a touch ui dialog field with change in value in a textbox dialog field. I have checked over the internet but was only able to see for change in dropdown.

1 Accepted Solution
Veena_Vikram
Correct answer by
Community Advisor
Community Advisor

sreekalyanip

    You can handle that with normal Jquery functions I believe. Like how you handle normal HTML fields using jquery , in same manner these dialog fields also can be handled.

Thanks

Veena

View solution in original post

2 Replies
Veena_Vikram
Correct answer by
Community Advisor
Community Advisor

sreekalyanip

    You can handle that with normal Jquery functions I believe. Like how you handle normal HTML fields using jquery , in same manner these dialog fields also can be handled.

Thanks

Veena

Arun_Patidar
Community Advisor
Community Advisor

Hi

As @Veena_07 Suggested - you can create your own show hide handler for text field like dropdown show hide handler.

/libs/cq/gui/components/authoring/dialog/dropdownshowhide/clientlibs/dropdownshowhide/js/dropdownshowhide.js

AEM Cases: Touch UI - Hide/Show Fields in the dialog in AEM by selection/checkbox