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 / Help getting a user in...
Power Apps
Answered

Help getting a user input from a form to a success screen.

(0) ShareShare
ReportReport
Posted on by 170

Hello,

 

I have a Canvas form that passes 2 user inputs to the success screen on submission.  I am using the set function to make the user input variables available in the success screen when the submission button is pressed.   However, it has an odd behavior.  If the form is new it seems to set the variables from the previous submission (or the first list item when I refresh the screen) regardless of what the current user inputs are.  If I edit an existing list item and change the values of the fields I am setting the variables to it pass the new user inputs to the success screen like it is supposed to.  I have no idea why this is happening.  

 

For example:  The first image is a new entry (it passes the old variables to the success screen) and the second is an edit of an existing item (it sets the variable to the new user inputs). 

 

Project Name & Project Fab are the user inputs

projectName & projectFab are the variable I set them to.

 

ErikH63_0-1617349275232.png

ErikH63_1-1617349301087.png

Thanks for any help.

   -Erik

Categories:
  • timl Profile Picture
    37,418 Super User 2026 Season 2 on at

    @ErikH63 

    Can you confirm where you're setting these variables? Are you setting them on the OnSuccess property of the form?

  • ErikH63 Profile Picture
    170 on at

    Hi @timl , I have tried both OnSuccess and on the OnSelect of the submit button in the Form.

  • Verified answer
    ErikH63 Profile Picture
    170 on at

    I think I found the issue, for OnSuccess of the form I had ResetForm(Self) ; Navigate(Success_screen_upload, Fade);  and it seems having ResetForm(Self) first was causing the issues, I am not sure why, but now that I moved it after the Navigate it seems to work fine.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard