web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,989 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,989 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard