[英]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.