cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MPayne-94
Level: Powered On

Toggle True/False changes based on another field value

I am currently trying to set up a toggle that will switch the True/False if an other field in the app is null or not.

 

I have the below formula in the OnChange but doesnt seem to be working:

 

Switch(DataCardValue5.Text <> Blank(),true,false)
1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Toggle True/False changes based on another field value

Hi @MPayne-94 

 

This should be put on Default value of toggle

If(DataCardValue5.Text <> "",true,false)

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up

View solution in original post

2 REPLIES 2
Dual Super User
Dual Super User

Re: Toggle True/False changes based on another field value

Hi @MPayne-94 

 

This should be put on Default value of toggle

If(DataCardValue5.Text <> "",true,false)

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up

View solution in original post

mdevaney
Level 8

Re: Toggle True/False changes based on another field value

@MPayne-94 

I think you should put your code in the Default value of the toggle instead

 

Switch(DataCardValue5.Text <> Blank(),true,false)

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 334 members 7,117 guests
Please welcome our newest community members: