Announcements
Hi,
Lets say I have EditForm1. I have a button that submits EditForm1. OnSuccess of EditForm1 I have emails sent out based on if conditions on a few fields.
I want the users to just have the option to save fields and not send out these emails. Can this be done?
any suggestions?
Hi @wonka1234 ,
You would need to give them the option before the form is submitted. For example if you had a Check Box on the screen (not in the Form) called ckEmail and if checked, send an email, you code OnSuccess would be
If( ckEmail.Value, Office365Outlook.SendEmailV2( . . . . . . ) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
@WarrenBelz thanks. I like that. anything else that would work in that situation?
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 762
11manish 640
Valantis 548