Adding Conditional Formatting to ASPX List Forms
In this section, you learn how to add conditional formatting to custom list forms to conditionally hide or display fields based on criteria, such as a user’s permission and values within other fields on a form.
Hiding Fields Based on User Permissions
SharePoint includes a set of unique permission IDs, which can be used to lock down various controls and attributes on master pages. For example, when working with master pages you can use the
<SharePoint:SPSecurityTrimmedControl> control to hide the Site Actions menu, or other control on the page (see Chapter 17, “Creating New SharePoint Master Pages.”) In Data Views and DFWPs, the same permissions can be used to conditionally hide and display fields ...