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)

许可以下: CC-BY-SA归因
scroll top