Friday 4 January 2013

jQuery to hide SharePoint Fields in Add/Edit/Display Form in SharePoint 2010


Place the Below script in the CEWP within that page 

<script src="http://sharepoint-site/_layouts/1033/jquery-1.4.4.minf.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function()
{
$('td.ms-formlabel:contains("Field-Internal-Name")').parent().hide();
});
</script>

No comments:

Post a Comment