Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm looking to see if something like this is possible - essentially using some jump logic.

The request is to create a list using some of the standard columns, but also some custom ones. Where it's getting tricky is the request for some jump logic based on the user's selection of a pre-populated list.

Eg. Column 1: Fruit Veggies Cheese

If you picked Fruit in column 1, column 2 would display Apples, Oranges, Bananas to choose from. If you picked Veggies in column 1, column 2 would display Carrots, Onions, Celery.

share|improve this question
    
Depends on whether you want to hard code the fuctionality into the field itself, or just to control the rendering of the edit form? Options below. –  Charles Lee Apr 23 '10 at 11:04
add comment

2 Answers 2

up vote 0 down vote accepted

Check out the SPCascadeDropdowns function in my SPServices jQuery library. I think it does exactly what you are describing.

share|improve this answer
add comment

I am assuming you are using SharePoint 2007? If you want to achieve the above scenario, you could do so by coding a custom field type that had this parent-child behaviour baked in.

I have already seen several examples of this, and used one of them to code my own flavor of it.

Examples of something similar on codeplex:

SharePoint Cascading Drop Down List (With Filter) Field Type

Sharepoint - Query Based Lookup Field Control

MSDN: How to create a custom field control.

share|improve this answer
add comment

Your Answer

 
discard

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