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?
@WarrenBelz thanks. I like that. anything else that would work in that situation?
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
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional