for Aem version 6.5 | Community
Skip to main content
Level 2
March 11, 2022
Solved

for Aem version 6.5

  • March 11, 2022
  • 2 replies
  • 1025 views

Suppose we have one dialog of component with 3 fields(first name, last name, phone number).i dragged this component in two pages. i want to hide phone number field from 2nd page only.how we can do it? basically what i want to ask is can we control dialog on template level?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

DEBAL_DAS
New Member
March 11, 2022

As you are planning to hide and show phone number based on template, I feel combination of granite:hide and cqDesign can help you here.

 

Please refer https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/hide-conditions.html?lang=en

 

Debal Das, Senior AEM Consultant