for Aem version 6.5 | Community
Skip to main content
Level 2
Mar 11, 2022 4:32 AM UTC
Solved

for Aem version 6.5

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 Participant
Mar 11, 2022 8:24 AM UTC

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

 

Translate