I'd like to have a form that will query the user profiles and display the results.

The form will have a couple of select fields and text fields and a submit button.

What is the right way of doing such a thing?

Many thanks.

Shay.

Comments

nevets’s picture

You could use the views module and exposed filters.

balaftuna’s picture

Many thanks nevets.

I finally figured out views and your advice makes sense.

I managed to do:
If STATE1="myValue-1" OR STATE2="myValue-2"

but what I'd like to do is

If STATE1="myValue" OR STATE2="myValue"

Is this possible?

Thanks.