Monday 30 July 2012

How to hide Sharepoint 2010 ListItem fields in pages




Hide Sharepoint 2010 ListItem fields in pages

Add a link to Latest version of J Query to  your page and add this script.

<script type="text/javascript" language="javascript">
        $(document).ready(function() {
            $("nobr:contains('My Field To Hide')").
      parent('h3').parent('td').parent('tr').hide();
        });
   
    </script>

where "My Field To Hide"  is the field name displayed in the form.

No comments:

Post a Comment