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 / send an email if Yes/N...
Power Apps
Answered

send an email if Yes/No slider value is change

(0) ShareShare
ReportReport
Posted on by 185

Hello,

 

I have a SP list which I am using it as a form in Power app. I have one slider in it which is basically a yes/no field from my SP list. I want to send an email to manager whenever the value of that slider is changed from No to yes. I also have a button which is a basically a submit/update button. now I am not sure how to add the if condition to my slider so it sends an email out to a user. Please Help !

 

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @jasminepatel90 

     

    You would just use an If statement to apply this logic.

     

    // Condition
    If( toggle1.value = true, 
    
     // If condition is true
     send the email
    
     // If contidion is false
     do something else/or do nothing
    )

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • jasminepatel90 Profile Picture
    185 on at

    @AARON_C Thank you for your response now do I need to use a variable or without it I can just use this on the toggle ? 

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @jasminepatel90 

     

    I assume when you click the submit/update button this is when the email gets sent. You can just use the <toggle1.value = true> to do this.

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • jasminepatel90 Profile Picture
    185 on at

    @AARON_C  so I want the email to go out on the click of a slider not a submit button and also I have a column in SP list which is a people picker column for managers. so when the slider is true it should send out an email to that manager 

  • Verified answer
    AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @jasminepatel90 

     

    You can still do this using the OnChange property of the toggle control.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard