SharePoint结束日期计算/列验证? [英] SharePoint End Date Calculated/ Column Validation?

查看:82
本文介绍了SharePoint结束日期计算/列验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我创建了一个SharePoint列表,其中一个字段是Start Date,另一个字段是End Date.这是合同的开始和结束日期,合同在每年的2月28日结束.

示例:开始日期是2018年3月21日,那么结束日期将是明年2019年2月.如果开始日期是2019年3月21日,那么结束日期将是2020年2月28日.

我希望用户限制选择结束日期,如上例中所述,开始日期和结束日期应为下一年的2月.

这是什么解决方案?如果有人可以计算字段或列验证,请分享代码?

先谢谢了.

帮助表示赞赏.

解决方案

您可以尝试这样的事情

https://sharepoint.stackexchange.com/questions/187165/populate-date-field-in-new-form-b​​ased-on-an-other-date-field-in-the-same-form


Hello, 

I have a created a SharePoint list where one field is Start Date and other is End Date. This is Contract Start and End Date where the contract ends at Feb 28 of every next year. 

Example: Start Date is 21st March, 2018 then the end date will be next year February 2019. if the start date was 21st march 2019 then the end date would be Feb 28 2020. 

I want the users to restrict choosing the end date before Start Date and End date should be the February of the following year as mentioned in the above example. 

What is the solution of this? If Calculated field or Column Validation can someone please share the code?

Thanks in Advance. 

Help appreciated. 

解决方案

You can try something like this

https://sharepoint.stackexchange.com/questions/187165/populate-date-field-in-new-form-based-on-another-date-field-in-the-same-form


这篇关于SharePoint结束日期计算/列验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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