Link to home
Start Free TrialLog in
Avatar of QPR
QPRFlag for New Zealand

asked on

New list item - related drop downs

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?)
Avatar of sharepointguru14
sharepointguru14

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:
http://datacogs.com/datablogs/archive/2007/08/26/641.aspx

Or you can just download one that should work for you here:
http://customfieldcontrols.codeplex.com/
Avatar of QPR

ASKER

2010, the download and sample seem to indicate 2007
ASKER CERTIFIED SOLUTION
Avatar of sharepointguru14
sharepointguru14

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of QPR

ASKER

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?
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.
Avatar of QPR

ASKER

awesome, thanks
I'll install infopath 2010 after my meeting and give it a go
Avatar of QPR

ASKER

Works perfect! thanks