web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Yes/No Toggle automati...
Power Apps
Unanswered

Yes/No Toggle automatically changes to No even though Yes was selected

(0) ShareShare
ReportReport
Posted on by 697

Hello,

I've a SharePoint list, in which I added a Toggle button i.e. Yes/No.

Same is added to the PowerApps form.

Users are able to switch between this Toggle button and submit/save the form.

But later when we refresh the form, we could see that the Toggle button is switched to No, even though if was selected as Yes.

In SharePoint also we do not see a check mark for the selections which were selected as Yes

In added below code to the Update property:

Update = If(DardCard10.Value = true, true, false)

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Prem4253

    Toggles are either true or false so Update property should be simply: DataCard10.Value if the toggle name is DataCard10. 

  • Prem4253 Profile Picture
    697 on at

    @Drrickryp 

    Update property was earlier set as below:

    Prem4253_0-1674566780160.png

    But that did not worked and I changed the Update property.

    Any guesses, why this is not working as expected.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Toggles are either true or false so Update property should be simply: Toggle1.Value if the toggle name is Toggle1. If that doesn't work delete that card and add the same field card back in again. 

  • Prem4253 Profile Picture
    697 on at

    As you could see I've update the update property same as you describe:

    DataCardValue10.Value

    Prem4253_0-1674567339467.png

    But both the ways did not worked for me.

     

    Reason why I've added a toggle button is to trigger the Power Automate flow.

    If the user is selecting Yes - an email will be sent else it will skip to send the email

    Will this work if we add a dropdown option i.e. Yes and No to trigger the flow?

    Below is the condition that I added - is equal to True i.e. Yes, send an email

    Prem4253_2-1674567664210.png

     

    Any ideas?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard