Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

for Aem version 6.5

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Level 4
2 Replies

Avatar

Employee Advisor

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....

 

Avatar

Correct answer by
Level 4