cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GeekAlf_Pro
Helper V
Helper V

Toggle issue behaviour

hi there,

 

i face an issue with a "toggle" behaviour

i have a phone app, and i wish, when a toggle "b" is switched on, that the the toggle "a" switch off

the trouble is that the toggle a has a default parameter to "on"

so i can't reset the toggle with an if condition.

 

2019-12-17 12_03_44-Formulaires_MOT - Enregistrées (non publiées) - Power Apps.png

 

i've tried an "updatecontext" statement, but i'm struggling with it

 

can anybody help me ?

 

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
SeanHenderson
Power Participant
Power Participant

Hi @GeekAlf_Pro 

Can you just set the default for toggle a to:

If(ToggleB.Value = true, false, true)

 

---
Please hit the "Accept as Solution" button if my post answered your question! If my post was helpful please consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
SeanHenderson
Power Participant
Power Participant

Hi @GeekAlf_Pro 

Can you just set the default for toggle a to:

If(ToggleB.Value = true, false, true)

 

---
Please hit the "Accept as Solution" button if my post answered your question! If my post was helpful please consider giving it a "Thumbs Up."

Thank you very much @SeanHenderson  , i was struggling with this point for a while !

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,536)