Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Check whether all radio buttons are selected in Gallery items

(0) ShareShare
ReportReport
Posted on by 12

I have questions gallery, For each question I have two radio button one is radioResponsible and radio status

I want to enable the button for user, once both the radio button for all the questions is been selected.

 

Help is appreciated on the same.

Categories:
  • Community Power Platform Member Profile Picture
    on at
    Re: Check whether all radio buttons are selected in Gallery items

    Hello,

     

    I have a similar question, and I'm wondering if anyone could help out. I have a screen with 2 Galleries.

    First galleryParent: has all the questions for the inspection, Second galleryChild, which is inside the galleryParent: has all the doors that need to be inspected. Im filtering the gallery to only display a section of doors depending on the Building; within the galleryChild, I have a radio button with Items ["P","F"] and the default value of "" inside of galleryChild. I Would like to check if all the radio buttons have a value that is not blank. how would i go about checking something like that.

    thanks in advance 

  • Verified answer
    v-yutliu-msft Profile Picture
    on at
    Re: Check whether all radio buttons are selected in Gallery items

    Hi @anubhav29 ,

    Could you tell me whether this button inside gallery or outside the gallery?
    I assume that the button is outside the gallery.

    Do you want the button enabled only if all the radios in all items have been selected?

    If so, please set the button's DisplayMode:

    If(!IsEmpty(Filter(Gallery6.AllItems,IsBlank(Radio1.Selected.Value)))||
     !IsEmpty(Filter(Gallery6.AllItems,IsBlank(Radio2.Selected.Value))),Disabled,
     DisplayMode.Edit)
    

     

     

     

    Best regards, 

  • anubhav29 Profile Picture
    12 on at
    Re: Check whether all radio buttons are selected in Gallery items
    This works for single items in Gallery, lets say we have multiple items , how we need to do it Thanks for your earlier response
  • v-yutliu-msft Profile Picture
    on at
    Re: Check whether all radio buttons are selected in Gallery items

    Hi @anubhav29 ,

    Do you want the button enabled when all the radios are selected?

    If so, you could use Radio.selected.value in gallery.allitems to jusitify whether all the radios are checked.

    I've made a similar test for your reference:
    my gallery named Gallery6, my two radios named Radio1 and Radio2

    set the button's DisplayMode:

    If(!IsEmpty(Filter(Gallery6.AllItems,!IsBlank(Radio1.Selected.Value)))&&
     !IsEmpty(Filter(Gallery6.AllItems,!IsBlank(Radio2.Selected.Value))),
     DisplayMode.Edit,
     Disabled)

    On your side, you just need to replace with your gallery name and radios name.

     

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics