New list item - related drop downs

Posted on 2011-03-21
Last Modified: 2012-05-11
I have 3 lists that have lookup columns related to each other.
Location, building, room
Buildings have a lookup to location
Rooms have a lookup to buildings

How can I restrict the buildings in the drop down based on the location selected in the previous drop down (and then again with rooms?)
Question by:QPR
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 15

Expert Comment

ID: 35185553
Natively out of the box with sharepoint....I don't know of any way. What version of SharePoint are you using?

To answer the question though, you can do it by creating a custom field control. Good walkthrough with code samples on how to create your own can be found here:

Or you can just download one that should work for you here:
LVL 29

Author Comment

ID: 35185590
2010, the download and sample seem to indicate 2007
LVL 15

Accepted Solution

sharepointguru14 earned 500 total points
ID: 35185680
yep they are 2007 related I took a guess since this was a big problem with 07. In 2010 we can use InfoPath which gives us a no code solution. Below you can find 2 links that do a nice just of walking you through the process and explaining it along the way.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 29

Author Comment

ID: 35185762
Looks perfect... but when I click the customise form button it tells me I need infopath 2010 installed.
This I can do. But when this site is delivered will the user adding the new item also be expected to have infopath 2010 on their client or will the logic for the cascading drop downs be copied to the server somewhere?
LVL 15

Expert Comment

ID: 35185784
you need infopath to actually use the form designer to make the changes to the form. Users will not need the infopath client as the solutions at the links provided will work with browser based forms so they will click and it will open in the browser. no client needed.
LVL 29

Author Comment

ID: 35185800
awesome, thanks
I'll install infopath 2010 after my meeting and give it a go
LVL 29

Author Closing Comment

ID: 35186446
Works perfect! thanks

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sharepoint KB 2 99
SharePoint Explorer Folder Access 4 78
Sharepoint doesn't work wirth Mozilla Firefox 1 46
Backup Solutions on Exchange + Sharepoint on VmWare ESXi 6.5 14 91
When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (…
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question