cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
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
Highlighted
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

Highlighted
Super User
Super User

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,745)