Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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
0 Replies

Avatar

Community 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