OOTB Show Hide is not working on Multifield | Community
Skip to main content
Level 6
November 28, 2022
Solved

OOTB Show Hide is not working on Multifield

  • November 28, 2022
  • 1 reply
  • 504 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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-show-hide-dropdown-changing-all-the-items/m-p/237275 

 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
November 28, 2022