I've created a HTML form webpart with some inputs. I want to insert the data contained by the inputs into a Sharepoint List on submit.

How can I do that?


You will need to use CSOM-JS.

Refer to this: https://stackoverflow.com/questions/2767461/sharepoint-form-webpart-with-javascript on how your html form should look like and this on how to do basic JS operations in SharePoint 2013: https://msdn.microsoft.com/en-us/library/office/jj163201.aspx (SharePoint 2010: https://msdn.microsoft.com/en-us/library/office/hh185011%28v=office.14%29.aspx)

| improve this answer | |
  • 2
    Thanks for marking as an answer. I appreciate when people find stuff helpful and let others know that it's correct. – Paul Strupeikis Mar 25 '15 at 10:42
  • You're welcome and thank you for your answer, it is very useful – bloomingsmilez Mar 25 '15 at 10:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.