How to create a search option in form?