This code helps us to validate the SharePoint 2013 List checkboxes - check either one of them on click of submit
on click of submit call this display function will give you the result
<script type="text/javascript" src="url here/SiteAssets/prototype.js"></script>
<script type="text/javascript" src="url here/SiteAssets/sputility.js"></script>
<script type="text/javascript">
function display()
{
SPUtility.GetSPField('Employee ID').Hide();
}
_spBodyOnLoadFunctionNames.push("display");
</script>
No comments:
Post a Comment