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 ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.