SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got two columns in a document library. If value x is selected from the first column, I want the second column to display. If any value other than x is selected the second column (a choice column) shouldn't display. How do I do that from within a Sharepoint library?

I am using SharePoint 2010....

Thanks. Any help would be appreciated. Caroline

share|improve this question

You can do this with a little simple script in the page which simply sets the class for column 2 to ms-hidden until the condition is met. You can add script like this into a Content Editor Web Part or add it directly to the page.

share|improve this answer

Try the free Connected Lookup Field or SPFields. There are a few commercial solutions available as well such as this one.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.