Show/hide dialog field with change in value in textbox dialog field | Community
Skip to main content
Level 3
September 12, 2018
Solved

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

  • September 12, 2018
  • 2 replies
  • 3024 views

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.
Best answer by VeenaVikraman

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

VeenaVikraman
Community Advisor
VeenaVikramanCommunity AdvisorAccepted solution
Community Advisor
September 12, 2018

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

arunpatidar
Community Advisor
Community Advisor
September 13, 2018

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