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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Set toggles to false i...
Power Apps
Answered

Set toggles to false if another toggle is set to true

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

 

I have 4x toggles on a page (Toggle1, Toggle2, Toggle3, Toggle4), only one of these toggles should be selected and I want to make it so that the user can't accidently select more than one. Note that I do have toggles on other pages that I need to exclude from this. 

 

I've managed to do this based on one of the toggles being set to true but I can't seem to figure out how to get all of the different possible combinations involved so hopefully there's a simple way of doing this that i'm missing. What i've done so far is:

On Toggle1 Set OnCheck to:

Reset(Toggle2;Toggle3;Toggle4);Set(varRHOToggle,Toggle1.Value)

 

On Toggle2, 3 and 4 Set Default to:

If(varRHOToggle,false)

 

Help as always is very much appreciated! Thanks

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,399 Most Valuable Professional on at

    Hi @Dave-ITMan ,

    On the OnCheck of them all, using the other three toggles (example Toggle1)

    If(
     Toggle2.Value || Toggle3.Value || Toggle4.Value,
     Reset(Self)
    )

     They simply will not set if one of the others is (you need to turn the other one off first)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Dave-ITMan Profile Picture
    on at

    Hi @WarrenBelz 

     

    You are a legend, thank you very much! 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard