Highlighted

Show hide dialog fields based on radio button in AEM 6.3

Avatar

Avatar

jamess16882168

Avatar

jamess16882168

jamess16882168

18-09-2018

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.

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

18-09-2018

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

Highlighted

Avatar

Avatar

abhinash007

Avatar

abhinash007

abhinash007

18-09-2018

Hi Jamess,

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

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

999

Correct Answer

829

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

999

Correct Answer

829
Arun_Patidar
MVP

18-09-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

Highlighted

Avatar

Avatar

jamess16882168

Avatar

jamess16882168

jamess16882168

18-09-2018

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

Highlighted

Avatar

Avatar

npreethi

Avatar

npreethi

npreethi

22-07-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.