Good day everyone,<div><br></div><div>I am using the formPanel to search for a feature in one of my map layers. I would like to use the &quot;LIKE&quot;  function for the search but then it doesn&#39;t seem to work.</div><div>
<br></div><div>I&#39;ve read somewhere (I think it was an archive for this list) that you have to use a wildcard for it to work. But I&#39;m not so sure of how to use it.</div><div><br></div><div>Here is my code for that:</div>
<div><br></div><div><div>formPanel = new GeoExt.form.FormPanel({</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>title: &quot;Search for Street&quot;,</div><div>            width: 300,</div><div>            height: 200,</div>
<div>            region: &quot;west&quot;,            </div><div>            protocol: protocol,</div><div>            items: [{</div><div>                xtype: &quot;textfield&quot;,</div><div>                name: &quot;ROAD_NAME__like&quot;,</div>
<div>                fieldLabel: &quot;Road Name&quot;</div><div>            }],</div><div>            listeners: {                    </div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>actioncomplete: function(form, action) {</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>features = action.response.features;</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>store.loadData(features);</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>vm=map.getLayersByName(&quot;Search Results&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>if(vm.length==0){</div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span>vecLayer = new OpenLayers.Layer.Vector(&quot;Search Results&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span>map.addLayer(vecLayer);</div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span>store.bind(vecLayer);</div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span>//select.bind(vecLayer);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>}</div>
</div><div><br></div><div>Thanks in advance,</div><div>Lorie Arboleda</div>