Announcements
Hello,
How can I restrict the OnSuccess for only new forms? I have an email being sent out once a new form is created, but I do not want an email to be sent out if the form was submitted in edit mode.
Hi @Jakegolden ,
Set a Variable when you instigate the New Form
Set(gblNew: true); NewForm(FormName)
OnSuccess of your Form
If( gblNew, Set(gblNew,false), YourOtherCodeHere )
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.
Visit my blog Practical Power Apps
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 356 Most Valuable Professional
11manish 225 Super User 2026 Season 2
Mohsin Ali 211