我需要向共享点添加一个选择字段,该字段的值取决于当前的选择
我需要向共享点添加一个选择字段,该字段的值取决于当前的选择。
示例:
如果当前选择是“打开”,则选项必须是“打开”和“正在进行中
**Current selection | Possible selections**
Open | Open,In progress
In progress | In progress,To be communicates,rework
Rework | Rework,In Progress
...”
,这样我就强制用户遵循某些特定流程
I need to add a choice field to sharepoint that has values depending on the current selection.
Example:
if the current selection is Open then the options have to be 'open, and In progress
**Current selection | Possible selections**
Open | Open,In progress
In progress | In progress,To be communicates,rework
Rework | Rework,In Progress
...
That way i am forcing the user to follow some specific flow
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我认为您不会立即获得此字段行为,但您可以通过实现自己的 自定义字段类型。
I think you won't get this field behavior out of the box but you can archive this by implementing your own CustomFieldType.
看看这个:[ www.sharepointsnippets.com/post/2009/01/Cascading-Dropdown---Configuration.aspx ] 您无需下载任何第三方软件。 否则,只要google一下SharePoint Cascaded/级联查找就有很多这样的商业工具。
希望这个片段有效!
Just take a look a this:[ www.sharepointsnippets.com/post/2009/01/Cascading-Dropdown---Configuration.aspx ] You need not download any third party software. Otherwise, just google SharePoint Cascaded/cascading lookupthere are lot of such commercial tools.
Hope this snippet works!
您可以通过编辑列表的 EditForm.aspx 页面并向该页面添加一些 JavaScript 来实现这种行为。
虽然我似乎找不到任何制作依赖下拉列表的示例,但有几个修改 EditForm 以隐藏字段或使其只读的示例:
You can achieve this sort of behavior by editing your list's EditForm.aspx page and adding some JavaScript to the page.
Although I can't seem to find any examples for making dependant drop downs, there are a couple examples of modifying the EditForm to hide fields or make them readonly:
那么这是两列,其中一列过滤另一列?
听起来像是一个级联下拉列表,那里有一些(商业)解决方案。
看
http://cascddlistwithfilter.codeplex.com
免费的。
So these are 2 columns out of which one filters the other?
Sounds like a cascading drop down list, there are a few (commercial) solutions out there.
See
http://cascddlistwithfilter.codeplex.com
for a free one.