web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Set multiple radio but...
Power Apps
Answered

Set multiple radio button to YES with Toggle switch.

(0) ShareShare
ReportReport
Posted on by 43

Hello Team,

 

I have a gallery control and I have added a radio button as sub title in this gallery with YES/NO values.

 

I want set all the radio buttons ( # radio buttons = # of items in the gallery) in this gallery to YES with toggel control (If there is a better control instead of toggel, Please suggest). Please let me know how I can do it. 

 

Thank you for your help in advance!

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @vshah804 

     

    Make the following changes:
     
    1) Set the OnVisible property of page:
    Set(SelectedValue,"");Set(ResetRadio,false)
     
    2) Set the Radio button properties:
    Default: SelectedValue
    Reset: If(ResetRadio=true,true,false)
     
    3) Set the TOggle button properties:
    OnCheck: Set(SelectedValue,"Yes");Set(ResetRadio,true)
    OnUncheck: Set(ResetRadio,false)
     
    With all these changes, the radio button will be reset everytime the toggle is changed to on.MicrosoftTeams-image (76).png

     

    Hope this Helps. 
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard