日期定制 [英] Date customization
问题描述
你好
我将SharePoint列表编辑项NewForm.apsx设置为新建"的默认设置
I have a SharePoint list edit item NewForm.apsx set as default for 'new'
在我的字段中:请求者,结帐日期,评论
In the fields I have : Requestor, Checkout Date, Comments
当用户填写这些内容并单击确定"时,会将其与输入信息一起显示在列表中.
When the user fills those in and clicks 'OK' it brings them to the list with the input information.
我想编辑结帐日期字段,以便当用户单击日历图标时,他们无法在当前日期+1之前进行选择,也不能超过7天
I would like to edit the checkout date field so that when the user clicks the calendar icon they cannot make a selection before the current date+1 and also cannot go past 7 days
因此,我正在处理此问题,并使用计算出的值编辑列表中的列,这可能无法正常工作,因为我需要编辑我认为的结帐日期.
So I was going about it and editing the column in my list with a calculated value, which probably won't work because I need to edit the checkout date I think.
我对共享点和编辑html代码还很陌生,我拥有SharePoint设计器,我确定需要在此处进行创建.
I'm fairly new to sharepoint and editing the html code, I have SharePoint designer which is where I'm sure I'll need to create this at.
感谢您的帮助
推荐答案
嗨
您可以使用javascript自定义date4控件
you can customize your date4 control using javascript
请检查此文档
https://karinebosch.wordpress.com/sharepoint-controls/datetimecontrol-control /
这篇关于日期定制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!