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


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.


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy