Sharepoint 2013复选框弹出窗口 [英] Sharepoint 2013 checkbox pop-up

查看:82
本文介绍了Sharepoint 2013复选框弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有两个复选框的自定义列表 

I've a custom list with two check boxes 

复选框1 

check box 1 

复选框2

当用户点击其中一个复选框或两者同时提交表单时,弹出框需要显示一个嵌入式链接,其中在提交第一个表单之前,在sharepoint上转换为另一个表单。

when users clicks one of the check boxes or both and submit the form a pop-up box needs to show up with an embedded link on it which takes to another form on the sharepoint before submitting the first form.

如何通过列验证实现此目的?或者使用任何其他技术?

How can I achieve this with column validation?? or with any other technique??

当用户单击选择1或选择2或两者并单击保存时,弹出窗口需要显示如何实现此操作以及在何处插入任何自定义你们提到的代码。

When user's click choice 1 or choice 2 or both and click save a pop-up needs to show up how do i achieve this and where to insert any custom code as you guys mentioned.

推荐答案

jQuery(document).ready(function() {
    jQuery('#showCheckoutHistory').change(function() {
        if (


(this).prop('checked')){
alert("您已选择显示结帐历史记录。); //已选中
}
else {
alert("您已选择关闭结帐历史记录。"; //未选中
}
});
});
(this).prop('checked')) { alert("You have elected to show your checkout history."); //checked } else { alert("You have elected to turn off checkout history."); //not checked } }); });





这篇关于Sharepoint 2013复选框弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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