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 / How to keep values in ...
Power Apps
Unanswered

How to keep values in a form after SubmitForm()

(0) ShareShare
ReportReport
Posted on by 517

Hi,

I have a Form1 and a Gallery1.

I can display the submited datas from Form1 to Gallery1 but I can't keep the same datas in my Form1 to submit again for a 2nd data in the Gallery1. I do not want to update the first submited data.

Have someone a suggestion ?

Thanks!

 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    So... You want to create a new row/line/item instead of updating the current row, right?

     

    If yes, you cna use the Patch Function.

     

    Patch(

    DataSource,

    Defaults(DataSource),

    {

    ...

    }

    )

     

    https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/function-patch

    https://www.youtube.com/watch?v=gX5q_V3U8-s

     

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    Buy me a coffee!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • dkayt Profile Picture
    517 on at

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard