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

Toggle only one

Didn't have much luck trying to search for this but it should be relatively easy.

 

I have 3 toggles. I need to make it so only one can be toggled at a time.

Example,

If #1 is toggled it works

If #2 is then toggled it will toggle on but then also untoggle the others.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
James_McKie
Advocate II
Advocate II

You could try Reseting the checkboxes when one is checked; 
e.g. when Checkbox1 is checked, 
Reset(Checkbox2); Reset(Checkbox3);


when Checkbox2 is checked, 
Reset(Checkbox1); Reset(Checkbox3);

 

That would work the same as an control.

alternatively you can disable the other checkboxes if one is checked

 

View solution in original post

4 REPLIES 4
Drrickryp
Super User
Super User

@robotj 

Use a radio control

robotj
Regular Visitor

I'm trying to do it with toggles. Some will be configured like this and some not.

James_McKie
Advocate II
Advocate II

You could try Reseting the checkboxes when one is checked; 
e.g. when Checkbox1 is checked, 
Reset(Checkbox2); Reset(Checkbox3);


when Checkbox2 is checked, 
Reset(Checkbox1); Reset(Checkbox3);

 

That would work the same as an control.

alternatively you can disable the other checkboxes if one is checked

 

robotj
Regular Visitor

Nice guys, Ty for your help @James_McKie. I managed to do exactly what you said as well as add an additional uncheck action. Slowly learning.

For anyone else who finds this...
Oncheck was
Reset(FirstToggle); Reset(SecondToggle)

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,782)