使用jQuery或js在JSOM代码中进行自定义验证 [英] custom validation in JSOM code,using jQuery or js

查看:64
本文介绍了使用jQuery或js在JSOM代码中进行自定义验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JSOM LIST CRUD OPERATION  以及ppl选择器
和datefields,我想知道如何使用此方法进行验证。

JSOM LIST CRUD OPERATION  along with ppl picker and datefields, i would like to know how to work with validation in this method.

我正在尝试在JSOM / REST API中执行babysteps。

am trying to do babysteps in JSOM /REST API.

1)我可以在这里使用预测吗?

1) can i use presaveaction here ?

2)我可以在addlistitem或其他地方使用自定义jquery函数吗?

2) can i use custom jquery function inside addlistitem or ?somewhere else?

3) 我可以在JSOM中使用spservices吗

3)  can i use spservices here in JSOM

帮助表示赞赏!

此外,在项目成功提交后,我需要重定向到editform.aspx?newID =" + mynewlycreatedID; 

also, after item is successfully submitted, i need to redirect to editform.aspx?newID="+mynewlycreatedID; 

任何来源,代码都表示赞赏!

Any sources, code are appreciated!

推荐答案

https://www.c-sharpcorner.com/UploadFile/3a164c/custom-validations-in-sharepoint-form-using-jquery/

https://www.c-sharpcorner.com/UploadFile/3a164c/custom-validations-in-sharepoint-form-using-jquery/


这篇关于使用jQuery或js在JSOM代码中进行自定义验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆