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

Show/Hide field of Checkbox in touchui aem 6.2

canhn32847157
Level 2
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
kautuk_sahni
Correct answer by
Community Manager
Community Manager
2 Replies
kautuk_sahni
Correct answer by
Community Manager
Community Manager