Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SharePoint List

Status
Not open for further replies.

ptrifile

Technical User
Aug 10, 2004
457
US
I have been asked to create a SharePoint list on SharePoint 2010 that will track if a site is up and operational. I am being asked to use Red, Yellow and green indicators. I have seen it done before but cannot figure out how to have a check box available for a column and just clicking the checkbox will change the color of it. Can anyone help here? Thanks in advance!

Paul
 
Thank you ehaze, unfortunately the example you give is based on a goal and a value, I need to have the ability to simply click on the box and the color will change.
 
Looking for something like this?

SharePoint_Conditional_Formatting_13.jpg


 
You will need to use SharePoint Designer and conditional formatting.


This was written for SP 2007, but the same idea applies to SP 2010.

High level overview of what you need to.
In your list, create a new View called something like Testing.
Open the list in SharePoint Designer.
From the list "dashboard" look in the Views window, right click on your Testing view and select Edit File in Advanced Mode.
In the design window, right click on a column header, then select Insert -> Column to the ___.
In the column you just created, click in row cell just below the column header, then select the td tag.
The td tag is what will be used to leverage the conditional formatting.
With the td tag selected, look in the options tab in the ribbon, select Conditional Formatting, then Format Selection.

Condition Criteria
Field Name: this needs to be set to your check box field.
Comparison: select equals
Value: Yes

Click the Set Style button.
From Modify Style, look in the Category window and select Background.
Set background-color to the desired color.
Click OK.

You will need create another conditional format for your other color.







 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top