简体   繁体   English

尝试在编辑表单上设置其他字段时,强制用户填写某些共享点项目字段

[英]Forcing user to fill some sharepoint item field when trying to set other field on edit form

当试图将其他选择字段更新为同一共享点列表项中的特定值时,如何强制用户在编辑表单中填写某些字段。

I would implement a client side script to implement the logic you need via the xslt style sheet in the edit form. 我将通过编辑表单中的xslt样式表实现一个客户端脚本来实现所需的逻辑。

And Also a server side event handler to make sure that even if the client side logic is overridden you still validate the data on the server. 还有一个服务器端事件处理程序,以确保即使客户端逻辑被覆盖,您仍然可以验证服务器上的数据。 throwing an exception if not valid for instance. 如果无效,则抛出异常。

我通过将列表“验证设置”与规则一起使用来解决该问题

=IF([Stan przetargu]="oferowanie";IF(LogotecProj<>"";TRUE;FALSE);TRUE)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 自动填写共享点编辑表单中的字段 - automatically fill field in sharepoint edit forms SharePoint计算字段在项目编辑时重置 - SharePoint Calculated Field resets on item edit 限制用户在Sharepoint 2010中其他用户打开列表项时对其进行编辑 - Restricting user to edit the list item when it is opened by other user in sharepoint 2010 如何在SharePoint 2013中以编辑形式将文本字段添加到人员选择器 - How to make text field to people picker in edit form in SharePoint 2013 在加载表单时,为除特定用户之外的所有用户将字段设置为“显示”模式吗? - Set a field to “Display” mode for everyone except a certain user when a form loads? 项目上的SharePoint 2010工作流更新查找字段 - SharePoint 2010 Workflow Update Lookup Field on Item 在sharepoint共享点列表的项目ID字段中需要帮助 - Need help in sharepoint sharepoint list Item ID field Jquery和sharepoint,试图从一个字段中获取一个值,并将其放入另一个字段中 - Jquery and sharepoint, trying to get a value from a field, and put it into another field 如何将“用户”字段设置为当前在Sharepoint 2010中通过XML登录的用户的默认值? - How can I set a User field to a default value of a user currently logged in through XML in Sharepoint 2010? 活跃用户部门的Sharepoint-2013填充字段 - Sharepoint-2013 Fill field with active users department
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM