Wednesday, March 4, 2015

Sharepoint List columns required

The content for the tracker.js is in the link that I've provided. Following method is also available in the blog. Can you check again?



function MandateColumn(ColName, mandatory)
{
if(mandatory=="True")
{
var spanTag ="<span class=\"ms-formvalidation\"> *</span>";
var newHtml = ColName;
if (mandatory)
{
newHtml += spanTag;
$("nobr").filter(function() {
return $(this).text() === ColName;
}).html(newHtml);
}
}
else
{
}
}





Cheers, &lt;br/&gt; &lt;a href=&quot;http://ift.tt/1DLKEQx src=&quot;http://ift.tt/1NfjLw5; &lt;a href=&quot;http://ift.tt/1NfjLw7 src=&quot;http://ift.tt/1DLKCYL;


No comments:

Post a Comment