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 / How to check if a form...
Power Apps
Answered

How to check if a form is successfully submitted before displaying a success screen

(0) ShareShare
ReportReport
Posted on by 776

I am using a Success screen when someone successfully submits the contents of a form using the following statements:

SubmitForm(frm_DataEntry); Navigate(scn_Success, ScreenTransition.Fade); NewForm(frm_DataEntry)

 

The problem is that if I leave a required field empty, it gives me the success screen and then comes back to the form and shows me that I am missing fields. How can I only show the success field if the form is actually successfully submitted?

Categories:
I have the same question (0)
  • Verified answer
    mmollet Profile Picture
    3,187 on at

    Use the forms OnSuccess property. This is where anything that you want to run after the form submit is done should go. For example

     

    Submit Button OnSelect -> SubmitForm(frm_DataEntry); 

    OnSuccess of Form -> Navigate(scn_Success, ScreenTransition.Fade);

     

    You can also use the OnFailure to add -> Notify("Invalid data entered!", NotificationType.Error)

  • Greg27 Profile Picture
    776 on at

    @mmollet Thanks for your help!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard