searching in user portal

hello. i desperatly need help for creating search form in user portal. the task is to create text boxes with lookup capability for query criterions and according to user input filter database for results. has anybody ideas how to realize this? is it possible at all? thank you!