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 one form to new ...
Power Apps
Unanswered

using one form to new edit and save?

(0) ShareShare
ReportReport
Posted on by 1,994

hi

 

I like to ask how to use one form to edit , save and create new fORM

 

i am using SP list to create the form and there's a browse gallery when click will bring to the form section, how to section the form to edit when browse to form and to save and create new form using one FORM only? Thx

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    The form control in Power Apps is designed to do this. Use the functions NewForm() and EditForm() to change the mode of the form, and SubmitForm() to save the data back to the SP list.

  • bbsin Profile Picture
    1,994 on at

    @BCLS776  yes, noted. thx

     

  • bbsin Profile Picture
    1,994 on at

    hi @BCLS776 

     

    I have a question

    I set the varMode  is it ok?

    when click on the edit Detail Screen it goes to FORM edit which is fine but I notices it keep going to tab3, how to default to Tab1

     

    for BrowseGallery I set the + to varMode NEW - when click it did not open new FORM?

     

    Edit Screen

    1) + iicon for new form - I should input as NewFORM(Form1)???

    2) when the form is edit,  the submit button when edit it will send back the changes, how about if it's new FORM?  Do I need to add one more submit button??

    3) How to now show the submit icon for new forms till user is at the last tab?

    1.PNG

     

     

  • BCLS776 Profile Picture
    8,994 Moderator on at

    I don't recommend using a variable to try to toggle the form mode in that way. Instead, use the form functions that Power Apps has provided.

     

    In your app, it appears you should put NewForm() in the OnSelect property of the + icon.

     

    For the pencil (editing) icon, you likely want an EditForm() call

     

    For the checkmark (saving) icon, you likely want a SubmitForm() call, no matter if the form was in New or Edit mode prior to that.

  • bbsin Profile Picture
    1,994 on at

    ok can you help to advise at the new form how can I set the submit button only to show at the end of the last tab?  thx

     

  • BCLS776 Profile Picture
    8,994 Moderator on at

    You can put conditions in the DisplayMode property of the checkmark icon control so that it is Disabled until certain conditions are met, and then it changes to Edit. Example:

    // Place this in the DisplayMode property of an icon control
    If(
     IsBlank(tbAddress.Text), // or substitute other condition(s) that must be satisfied
     Disabled,
     Edit
    )

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard