QPR
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?)
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?)
ASKER
2010, the download and sample seem to indicate 2007
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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?
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.
ASKER
awesome, thanks
I'll install infopath 2010 after my meeting and give it a go
I'll install infopath 2010 after my meeting and give it a go
ASKER
Works perfect! thanks
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/