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

How could I do filtered lookup field for more then one element? I make for one Element by this link:

http://howididit-sharepoint.blogspot.com/2012/04/filtering-lookup-columns.html

But how could I done for more element say about twenty elements ?

share|improve this question

1 Answer 1

To filter lookup field you can use SPFilterDropdown function of SPServices. This function allows you to filter lookup column using CAML Query against source list. All you have to do is download the SPServices js file and use it. One more thing jQuery reference is also needed.

Hope this helps.

share|improve this answer
    
But I must do with Sharepoint solution on the Box, not out of Box. –  Grzegorz Z Dec 12 '13 at 13:50
    
Should I install any adons on it, or I must add SPServices only to head ? –  Grzegorz Z Dec 12 '13 at 13:55
    
Where Should I add the JQuery ? –  Grzegorz Z Dec 12 '13 at 14:05
    
Ok I Conected them but how use a filter ? Please help. –  Grzegorz Z Dec 12 '13 at 14:39
1  
you have to add reference to jquery and SPServices on the form/page on which you want filtered lookup column. Just download the two js file and upload in a document library of SP. Then provide link to them in the required page. Make sure jquery is referenced before SPServices. For more details check this link sympmarc.com/2012/05/11/… –  Garima Dec 13 '13 at 4:20

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.