Show hide dialog fields based on radio button in AEM 6.3 | Community
Skip to main content
New Participant
Sep 18, 2018 9:20 PM UTC

Show hide dialog fields based on radio button in AEM 6.3

Suppose I have a radio button with 2 option, out of which only on selection of one of them a section of multifield items in the same dialog have to be shown. On selection of the second option,  another section of multifield items in the same dialog is to be shown.

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

5 replies

arunpatidar
New Participant
Sep 19, 2018 6:16 AM UTC

Hi James,

As Scott mentioned there is a bug in granite radio type when use in multifield.

Instead of radio you can for dropdown for show hide.

For multifield items show hide based on dropdown selection you can refer AEM6.4 - Multifield with Show hide dropdown changing all the items

Translate
Arun Patidar
abhinash007
Level 2
Sep 19, 2018 3:21 AM UTC

Hi Jamess,

    You can refer AEM form component (/libs/fd/af/components/aemform). Asset Type (radio button) field has show-hide functionality .

Translate
New Participant
Sep 19, 2018 6:22 AM UTC

Thanks abhinash007. There is show hide for radio button in AEM form component

Translate
New Participant
Jul 22, 2020 7:32 AM UTC

Hi. Can you please share slingResourcetype and also complete node properties for adding show hide functionality under radio button in aem 6.4  Thanks.

Translate
smacdonald2008
Level 10
Sep 19, 2018 12:34 AM UTC

This is a bug - i have seen strange behaviour when using a radio granite type on a multifield. I recommend opening a ticket.

Translate