Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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

Avatar

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



Arun Patidar