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 / How to set up a button...
Power Apps
Unanswered

How to set up a button when user submit the data it should save it to sharepoint list.

(0) ShareShare
ReportReport
Posted on by 8

Hello

 

I am working on a survey app and app is connected to sharepoint and i am trying to figure it out that when user select all the fields and when it click on button it should save all the data in sharepoint. I tried using SubmitForm(EditForm) but still is not working. i have attached the picture of my application.

 

I tried using two different way, First input button into new datacard and also without data card, but still its not working.

Capture.PNG
Capture5.PNG
Categories:
I have the same question (0)
  • wyotim Profile Picture
    2,545 on at

    I may be misunderstanding but it seems you are using SubmitForm(EditForm) as the code for the OnSelect property of the button, yes? If so, the "Edit Form" portion is the problem. You need the name of your form, which from the pictures you posted seems to be SharePointForm1. Try:

     

    SubmitForm(SharePointForm1)
  • aakashpatel6600 Profile Picture
    8 on at

    I tried that form and when i select all the field and click on submit button its not saveing that data into Sharepoint list.

    Capture3.PNG
    Capture2.PNG
  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    What are the values for your form?

    DataSource? 

    Item?

     

    Do you have a button that is doing NewForm(SharePointForm1)?

  • aakashpatel6600 Profile Picture
    8 on at

    It is from datasource. I added sharepoint in my datasource. For button i tried submitform(sharepointform1), but still its not working.

  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at
    1. Add a button that says "Create new Form" for OnSelect put NewForm(SharePointForm1)
    2. Add a button that says "Save to SharePoint" for OnSelect put SubmitForm(SharePointForm1)

     

    Click button 1, fill out the form, click button 2

     

    Does that work?

  • aakashpatel6600 Profile Picture
    8 on at

    I created the new Datacard and insert the button under the datacard. I have attached the picture. Please take a look at this picture.

     

    Thank you

    Capture4.PNG
    Capture6.PNG
    Capture7.PNG
  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    How about go to your SharePoint list and click the PowerApps button. Then choose Create an App. 

     

    Then PowerAPps will make it all for you. And you can customize it as you need. 

  • aakashpatel6600 Profile Picture
    8 on at

    Yes, I tried that on ebut the button is on the top and it is not letting me to customized some form which i want so i choose the customized form and created the app.

  • rebeccas Profile Picture
    2,591 on at

    Check to make sure you have in the proper "Update" on the card. Also, the default mode of your form should be Edit with the other items you are using. If it is creating a new item on your sharepoint list it needs to be New and instead of EditForm(frmName) it would be NewForm(frmName).

  • AS-14101738-0 Profile Picture
    Microsoft Employee on at

    for OnSelect property put: SubmitForm(FormName)

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

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard