This example shows how to create a search form based on GeoExt.form.FormPanel.
A GeoExt.form.FormPanel instance uses an OpenLayers.Protocol object for sending search requests. In this example a fake protocol is used, in a real-life scenario a specific protocol like OpenLayers.Protocol.WFS would be used.
If you click on the "search" button below the form, the filter resulting from the form values is represented to the right of the form.
The js is not minified so it is readable. See search-form.js