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 / Using the same form to...
Power Apps
Unanswered

Using the same form to Edit, View or Add

(0) ShareShare
ReportReport
Posted on by 3,276

Hello community. I have beeing dealing with this for days and I hope someone could point me in the right direction.

In my app I have a button to create a "New Request". This action will do this:

 

Set(var_FormMode, "New"); Set(varRecord, Patch(Tbl_Database, Defaults(Tbl_Database), {Title: GUID(), Global_Status: "Draft"})); Navigate(Screen_NewEditRequests))
 
In the Screen "NewEditRequests" I have the following:
DefaultMode = If(var_FormMode = "New", FormMode.New, FormMode.Edit)
Item = If(var_FormMode = "New",varRecord, var_EditRecord)
 
The var_EditRecord came from a different screen with the OnSelect for a Gallery 
 
All the data is in a Edit form with a SubmitForm action.
 
What I want to do is save the user progress but If I hit the submit button the form will be blank and I have to go back and load the data.
 
If possible to perform the save at any time so the user can continue adding data, saving and continue seeing the data in the form?
 
Thanks in advance for any help.
 
Regards
Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,615 Super User 2026 Season 1 on at

    hey @sajarac 

     

    this video should helo you solve your issue:

    Power Apps Gallery Edit Form Tutorial for Beginners (youtube.com)

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Sajarac Profile Picture
    3,276 on at

    Hi @mmbr1606  for the video suggestion. 

    Just a silly question? At the beginnig of the video Reza mentioned that is only applicable for the gallery and the form on the same screen, right?. Do you have any other video that explains doing this from different screens? I have been trying to implement that solution but my scenario is having a screen where the user can either Add a new request or navigate to View Request and in there view the request details to later edit.

    Thanks in advance for any response.

    BR

  • mmbr1606 Profile Picture
    14,615 Super User 2026 Season 1 on at

    hey @sajarac 

     

    it would be the same and just need to add Navigate(Screenname) to navigate to the next screen.

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Sajarac Profile Picture
    3,276 on at

    Hi, thank you very much for the prompt response. Well navigating from the Gallery and editing the form. Yes it works as expected. But From the main screen and Adding a new Request after saving I am getting a different record on the form. I will double check for sure I have missed something.

  • mmbr1606 Profile Picture
    14,615 Super User 2026 Season 1 on at

    hey @sajarac 

     

    when u need a new form you just need to use Newform(FormName) and then Navigate(ScreenName)

     

     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard