开发者

Validation of multivalued columns in sharepoint list

开发者 https://www.devze.com 2023-04-13 00:20 出处:网络
I have a list in Sharepoint 2010 which has a \"Choice\" type column that can take multiple values through checkboxes. I\'m using the default \"NewForm\" provided to input a new item into the list. I n

I have a list in Sharepoint 2010 which has a "Choice" type column that can take multiple values through checkboxes. I'm using the default "NewForm" provided to input a new item into the list. I need to perform some validation before a new item gets added depending upon which all checkbox items have been selected. How close can I get to an out-of-the开发者_StackOverflow社区 box validation approach as Sharepoint does not allow validations on multivalued Choices by default ?


Use PreSaveAction. This functionality is provided out of the box to allow for custom client side validation.

For more information on PreSaveAction, see how do I validate form fields in sharepoint list?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号