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 / Form Question - On Sel...
Power Apps
Answered

Form Question - On Select Command

(0) ShareShare
ReportReport
Posted on by 84

Hello PowerApp Community,

 

i have create a form with a sharepoint list as data source, especially just for date, so my idea was that if somebody change the date the form automatically send an email to the responsible person. I used the OnSelect command 

 

Office365Outlook.SendEmailV2(Label.Text;"Subject";HtmlText1.HtmlText;{Importance:"Normal"})

 

the code works fine, but i just want to send the mail after choosing a date and confirmed with "Ok", actually it also send a mail if someone just open the calender.

Unbenannt2.png

I hope someone can help out.

 

Categories:
  • Verified answer
    rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi there @PowerAppUser98 

     

    Remove the code from Onselect and add it to the Form's OnSuccess function.

     

    Hope it helps,

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard