Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Show hide dialog fields based on radio button in AEM 6.3

Avatar

Level 1

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.

5 Replies

Avatar

Level 10

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

Avatar

Level 2

Hi Jamess,

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

Avatar

Level 1

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

Avatar

Level 1

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

Avatar

Community Advisor

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