Show/hide dialog field with change in value in textbox dialog field | Community
Skip to main content
Level 3
Sep 12, 2018 11:22 AM UTC
Solved

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

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Sep 12, 2018 2:37 PM UTC

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

2 replies

arunpatidar
New Participant
Sep 13, 2018 1:23 PM UTC

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

Translate
Arun Patidar
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Sep 12, 2018 2:37 PM UTC

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

Translate