Can I set custom filter dynamically?

I would like to use Pipeline Pilot to develop a user interface. In the form, I have two list boxes. When user select one item in the first list box, I would like to update my filter according to the selection, so the second list box only show the items related to the first list box selection. If no item is selected in the first list box, then all items in the second list box will show.

Thanks,

Ling