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

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