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 / Submit Button - OnSele...
Power Apps
Answered

Submit Button - OnSelect code vanished

(0) ShareShare
ReportReport
Posted on by 3

Help!

I went into edit my Powerrapp and my code for my submit button is missing, and its activating while I am editing.  I have it set to trigger a flow to send 2 emails, including my collection of images, and then Exit().  Now the code is missing for me to edit it, and while I am editing I am getting emails every time I select the button.

 

What is going on here?  I tried editing in Firefox and in Edge, thinking the browser was triggering something, but same outcome.

 

Any ideas how to recover this code?

 

Thanks,

MGBowers

 

Edit: My Code reappeared in my OnVisible for the page...  And that code was activating in edit mode.

Solved.

 

Categories:
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Mark your reply as a solution

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard