Hi Team
I have one requirement where I have to create a Content Fragment Model which contains checkbox/dropdown based on the selection of value in the checkbox/dropdown there should be 2 fields which should be visible or hide.
Kindly advise how can I achieve this in content fragments.
Thanks in advance.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @Prashardan
There is no OOTB functionality to implement checkbox/dropdown show-hide functionality in content fragments.
You need to write a custom script for the functionality similar to how we implement for AEM CQ dialog. Identify the JS client libraries associated with content fragments, and load your custom script based on that.
Hope this helps
Thanks
Hi @Prashardan
There is no OOTB functionality to implement checkbox/dropdown show-hide functionality in content fragments.
You need to write a custom script for the functionality similar to how we implement for AEM CQ dialog. Identify the JS client libraries associated with content fragments, and load your custom script based on that.
Hope this helps
Thanks
Thanks @PRATHYUSHA_VP I was able able to achieve this requirement by writing custom js script.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies