how to fetch records whose list field contains a certain value?

how to fetch records whose list field contains a certain value?

I have a form which contains a multiselect field. Now I want to get all records searching for a value inside that list on form.

I tried something like this:

  1. records = Form [multiselectlist.contains(input.value)];

But Deluge tells me there's a syntax error.

How is right way to do that?