Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a Sharepoint 2007 site and want to create a list that users can filter dynamically using a form or something similar. The use case is as follows:

  1. A user is shown a list with any number of items. The list itself includes a data column to be used by the filter form.
  2. The user uses a filter form with a drop-down selector bound to select what items they want to see, or default to show all.
  3. After selecting the items to filter, the items they picked to display are shown.

I added a form web part to the list page, but I'm not sure how to add drop-down elements to it, can I add drop-downs using the source editor? If so, how can I specify the lookup columns for these drop-down selectors?

share|improve this question
Dupe on -… – Ryan Jan 5 '12 at 9:38

2 Answers 2

up vote 1 down vote accepted

You can use OOTB Filter web parts and SharePoint webpart connections for this purpose. For details, please have a look at the following MSDN article:

If the functionality of the OOTB filter webparts won't do, you can write your own filter webpart. There is a good sample on MSDN:

share|improve this answer

Incredibly late answer but in case anyone stumbles on this: Yes, you can add your dropdown code to the source editor. Works well if you have a "known" list of filter terms. There's a how to here: Sample code:

<div onkeydown="javascript:if (event.keyCode == 13) _SFSUBMIT_">
<select name="Media">
<option value="Painting" selected="selected">Painting</option>
<option value="Drawing">Drawing</option>
<input type="button" value="Go" onclick="javascript:_SFSUBMIT_"/>

The simply connect the form to your list and select the field(s) you wish to filter on.

share|improve this answer

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.