如何将数据从自定义表单推送到SP2013中的现有列表 [英] How to push data from a custom form into an existing list in SP2013
问题描述
将数据从自定义HTML表单发送到SP中的列表的最佳方法是什么?之所以要这样做,是因为我有几条用JS编写的规则来控制整个表单..我尝试使用sp.js函数,SPservices函数以不同的方式 甚至REST,但都没有成功.我认为代码是正确的,没有语法错误等.我什至收到成功消息,但该列表没有任何反应.
Hi, what is the best way to send data from my custom HTML form into a list in SP? The reason I want to do it this way is that I have several rules written in JS controlling the entire form.. I have tried different ways using sp.js functions, SPservices functions and even REST but none of them was succesfull. I think the code is right, no syntax errors etc. I get even success messages but nothing happens with that list..
如果您愿意,我可以插入我的代码示例.
I can insert my example of code if you would like to see..
感谢任何想法
推荐答案
托马斯,
查看以下示例是否对您有帮助:
See if the below examples help you:
https://sharepoint.stackexchange.com/Questions/120024/save-html-table-data-to-list
http://www.splessons .com/以编程方式将项目保存到使用spservices的共享点列表中/
代码参考:
Code Reference:
(文档).ready(function(){
(document).ready(function() {
(#feedback-submit input") .click(function(){ var subject =
("#feedback-submit input").click(function() { var subject =
这篇关于如何将数据从自定义表单推送到SP2013中的现有列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!