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
BedrockMission!

Learn More

View all

Sign in to view all badges

Show hide dialog fields based on radio button in AEM 6.3

Avatar

Avatar
Level 1
jamess16882168
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
jamess16882168
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
jamess16882168
Level 1

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

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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.

Avatar

Avatar
Boost 5
Level 2
abhinash007
Level 2

Likes

11 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 2
abhinash007
Level 2

Likes

11 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
View profile
abhinash007
Level 2

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 .

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,155 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,155 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
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

Avatar

Avatar
Level 1
jamess16882168
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
jamess16882168
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
jamess16882168
Level 1

18-09-2018

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

Avatar

Avatar
Give Back
Level 1
npreethi
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
npreethi
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
npreethi
Level 1

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.