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 / Display recently submi...
Power Apps
Answered

Display recently submitted form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is there a way to show what you just submitted in a form? Capture.PNGfor example, I have a form called formData, on select of the save button it goes into a list called ListData. Is there a way I can use a lookup or somehow keep the attachment and comment in their so the user can see what they have submitted instead of the form resetting. Also, I do not call a reset.

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@powerapps890,

    I have seen that you have opened the same case before:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Keep-data-card-information-upon-saving/td-p/675181

    I have posted my reply already, is there anything I missed?

    How you set your DefaultMode of your form which is the key to solve your problem. (IMPORTANT)

    Is the form in the screenshot a SharePointIntegration?

    Normally, a SharePointForm is set to EditMode. I modify the previous solution, you can try as below.

    Set the OnSuccess property of your form to the following:

     

    Set(SubmittedData, Form1.LastSubmit);
    NewForm(Form1) 

     

    Set the Items property of your form  to the following:

     

    SubmittedData

     

    Set the Default property of the corresponding TextInput control within the Description DataCard as below:

     

    SubmittedData.Description

     

    Note: Attachment control will keep the last submitted attachment by default, so you just need to set the Default property of the corresponding TextInput control within the Description DataCard.

    Please try to check if this could solve your problem, if it could not, more details would be appreciated. 

    Best Regards,

    QI

  • Verified answer
    PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    @Anonymous 

     

    Please close this thread by marking a reply as a solution. The way it worked was to set the form mode of the form based on whether there was a related record for the record that was selected in the primary gallery. If a related record exists, then you can set the form mode to Edit (setting a variable to FormMode.Edit or simply calling EditForm(Form1)) and if there is no related record, then you can set the form mode to New (setting a variable to FormMode.New or simply calling NewForm(Form1)). 

     

    Then set the Items property of the form to Gallery.Selected. This way when the form mode is edit, it knows which record to display. The default property of the data cards should simply be ThisItem.ColumnName. 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard