Hi,
I have a scenario where on selection change I need to add particular multifield item.
If I am having a multifield containing richtext.
If I change the selection to 2 I need a multifield with 2 richtext fields.
If I change to 3 , I need 3 richtext fields.
How to add multifield-item to multifield dynamically on event change.
Views
Replies
Total Likes
I am checking with the TOUCH UI team.
Views
Replies
Total Likes
In the below mentioned post, a hidden textfield is added/made visible on selection of a checkbox. You may extend it based on your requirements.
coral-checkbox issue in Carousel
you can check similar posts @ Experiencing Adobe Experience Manager - Day CQ: In the blog "Experiencing Adobe Experience Manger - ...
Views
Replies
Total Likes
Hi Gaurav,
Is there any other way without show or hide?
Views
Replies
Total Likes
just remove the javascript code/class on the element/textbox/RTE in dialog.xml to hide it by-default. It would always be visible.
check for "nested multifield" examples @ above mentioned link, you may have to tweak it.
E.g.
Views
Replies
Total Likes
Our team suggested you look here -- https://experience-aem.blogspot.com/2019/02/aem-6420-adding-composite-multifield-items-based-on-cora...
Views
Replies
Total Likes
Views
Likes
Replies