Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

OOTB Show Hide is not working on Multifield

Avatar

Level 7

I have one dropdown with {URL, Text}

Inside Multifiedl {Text, Title, URL}

 

If author select URL then {Title, URL} should appear

If author select Text then {Text, Title } should appear

 

I tried to obtain this scenario using 

cq-dialog-dropdown-showhide-target
.list-option-listfrom-showhide-target


I am not getting the result as required. After clicking add button these fields are hidden I have to select dropdown again and again then only it works.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

It does not work OOTB,

 you have to write custom js. Example is here

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem6-4-multifield-with-sho... 

 



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

It does not work OOTB,

 you have to write custom js. Example is here

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem6-4-multifield-with-sho... 

 



Arun Patidar