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

Notifications

Announcements

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 652

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard