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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Show/Hide field of Checkbox in touchui aem 6.2

Avatar

Level 2

Hi guys,
I am working in touch ui aem 6.2.
i have a issue: show/hide field of checkbox not work

<showhide

     jcr:primaryType="nt:unstructured"

     sling:resourceType="granite/ui/components/foundation/form/checkbox"

     text="Do you want to show field?"

     value="true"

     class="showhide"

     name="./isShowField"

     showhide-target=".showhide-field" />

<content

     jcr:primaryType="nt:unstructured"

     sling:resourceType="granite/ui/components/foundation/container"

     class="showhide-field"

     showhide-target-value="true">

     <items jcr:primaryType="nt:unstructured">


     </items>       

</content>  


Why does it not work?
Can anybody help me?

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Administrator
2 Replies

Avatar

Correct answer by
Administrator