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 form and then r...
Power Apps
Answered

Submit form and then reset form

(0) ShareShare
ReportReport
Posted on by 24

Hello,

 

I have a question regarding a Power App I'm building, I've created an App that contains a barcode scanner and a submit button. Essentially the barcode is scanned and then the submit button is hit taking them to either a success or failure page.

 

That success/failure page contains a Home button which takes them back to the barcode scanner page however when I scan the barcode and submit again it claims the data set isn't working.

 

Any help would be appreciated as I'd ideally like the user to scan the barcode click submit > go to success page > Home > then be able to scan another barcode without having to close the app completely to reset the form.

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @AlexJohnH 

    You can reset a form using this code.

    ResetForm(your_form_name)

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • AlexJohnH Profile Picture
    24 on at

    Thanks, this works now. Just had to use the semi colons as a connector in the formula.

  • mdevaney Profile Picture
    29,991 Moderator on at
    @AlexJohn4
    If you are no longer having any issue please accept a solution and close this thread.

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
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard