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 / If Toggle1 true then t...
Power Apps
Answered

If Toggle1 true then toggle2 true

(0) ShareShare
ReportReport
Posted on by 58

Hopefully simple one - not for me. I want to trigger toggle2 if toggle1 is true. I'm trying an If statement in the default for toggle2. Can't seem to make it work.  

If(Toggle1.Value = true,ThisItem.Deleteitem = true)

I've tried a few variations and longer expressions. Just stuck on this...

 

 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    What does it mean when you state you want to trigger toggle2. Kindly explain what you want to do if toggle1 is true if possible give a screen shot. 

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    efroseroc Profile Picture
    152 on at

    Set a variable for recording the value when you change the toggle

     

    If(Toggle1.Value = true,Set(vToggle;true)= true, Set(vToggle,false)
    And in Default (Or Update) from toggle 2 you just put

    vToggle.

    But depends on what kind of fields you are working on.

     

    Hope this helps.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @wlyttle 

    A bit simpler, make the value property of toggle2: Toggle1.Value

    Or if you want it to be editable put that in the Default property instead.

     

  • efroseroc Profile Picture
    152 on at

    Sorry @Drrickryp I can´t seem to find the Value property of the toggle control

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 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard