Hiding SharePoint Task and Calendar fields
SharePoint allows people to create lists and libraries and then present views. In a couple of special web parts tasks and calendars, there are some fields that you cannot remove from a view. In order to remove these fields from a view, we can make use of some JavaScript code which we embed into our list page. Thanks to Harley for this workaround.
You may store your jQuery file locally or out in the cloud. To hide the content editor webpart, simply select “Hidden” from the Layout section of the edit web part dialog box.
<script src=”http://code.jquery.com/jquery-latest.min.js” type=”text/javascript”></script>
<script type=”text/javascript”>
var tbl = $(‘table.ms-formtable’);
$(‘tr:contains(“Status”)’, tbl).css(‘display’, ‘none’);
$(‘tr:contains(“Date Completed”)’, tbl).css(‘display’, ‘none’);
$(‘tr:contains(“Comments”)’, tbl).css(‘display’, ‘none’);
</script>