cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
janla2112
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
janla2112
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
janla2112
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (44,338)