cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Update toggle value to true when another toggle value is true

I have a nested if-statement for the Default value for a toggle that is checking the value of a couple of local variables as well as the value of another toggle. I cannot seem to get the toggle to update to true when the other toggle is updated to "true"

 

I am setting the Default value in the target toggle (NotifyAppCustodian) to:

If(isReset,false, isResetNameChange, false, SoftwareAppChanges_Value.Value=true, true, Parent.Default)

 

However, when I change the SoftwareAppChanges toggle to true, the NotifyAppCustodian toggle does not update to true...the rest of the formula works. I am getting a notification on that highlighted part of the formula that says: contorl.png

1 ACCEPTED SOLUTION

Accepted Solutions
Frequent Visitor

I solved the issue fairly simply.

I added the following to the OnCheck property of the source toggle, "Software App changes":pic1.png

 

And then added the following into the if-statement of the Default property of the destination toggle, "NotifyAppCustodian":

 

pic2.png

View solution in original post

1 REPLY 1
Frequent Visitor

I solved the issue fairly simply.

I added the following to the OnCheck property of the source toggle, "Software App changes":pic1.png

 

And then added the following into the if-statement of the Default property of the destination toggle, "NotifyAppCustodian":

 

pic2.png

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,552)