SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two drop down boxes in designer. In the first drop down I have 3 options, in the second drop down I have 20 items.

When I click option 1 in the first drop down, I need the first 6 items populated in the second drop down and the remaining should be removed.

When I select the second option, I need the next 6 items to be populated.

In the same way, the last option as well.

Could anybody give me a start on the logic?

share|improve this question
up vote 4 down vote accepted

Use Marc Anderson's SPServices jQuery library.

There is a function that will do just what you need: SPCascadeDropdowns (sorry can't link to the exact documentation but you'll find it on this page).

share|improve this answer
Have used SPCascade Dropdowns extensively. Great tool. – Clayton Firth Nov 4 '10 at 22:31
AWESOME tool and use it all the time – Paul Akerlind Nov 5 '10 at 14:46

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.