cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
m0le
Level: Powered On

If any of the toggles in On then

Hi Team

 

I am struggling with a simple thing.

I have 4 toggles on screen and Send bottom . How do I use IF in the way:
after pressing the Send bottom - If any of the toggles has been switched ON do < command>

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Level 10

Re: If any of the toggles in On then

Hi @m0le 

 

For the button

set the DisplayMode property to

If(Toggle1 || Toggle2 || Toggle3 || Toggle4,DisplayMode.Edit,DisplayMode.Disabled)

 

where Toggle1 -- Toggle 4 are the names of your toggle controls

 

This function will enable the button if any of the toggles is turned on

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

2 REPLIES 2
RezaDorrani
Level 10

Re: If any of the toggles in On then

Hi @m0le 

 

For the button

set the DisplayMode property to

If(Toggle1 || Toggle2 || Toggle3 || Toggle4,DisplayMode.Edit,DisplayMode.Disabled)

 

where Toggle1 -- Toggle 4 are the names of your toggle controls

 

This function will enable the button if any of the toggles is turned on

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
m0le
Level: Powered On

Re: If any of the toggles in On then

Thanks it worked

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 171 members 5,266 guests
Please welcome our newest community members: