Skip to main content
September 18, 2018

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

smacdonald2008
Level 10
September 19, 2018

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

Translate
abhinash007
Level 2
September 19, 2018

Hi Jamess,

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

Translate
September 19, 2018

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

Translate
July 22, 2020

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
arunpatidar
Community Advisor
Community Advisor
September 19, 2018

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