Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Limit the selection of check-boxes in a SharePoint Survey form

$
0
0

Hi,

I have created a survey that has one question. Here is a form (NewForm) of a survey:

If there are more than 2 check-boxes checked, it should alert the user and don't let him/her submit the form. Please, let me know, how should achieve this?

I have searched sources and was testing the limiting of the number of choices that a user can select in one Survey form. One of the sources and other one I have tried to modify and use to count the selected (checked) choices, but it didn't work as expected. I have also tried doing from this video, but I probably do something wrong. It seems that the code from this source could work, but it does not, I've tried modifications, but it was no use.

Would column validation function work here, or is jQuery/JS needed here?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>