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 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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.