Hi, I've put together some code to do a search against a table in PostgreSQL database. When the user submits a search, I want to convert the text (from the text box) to upper case to match the upper case values in the table. Is there a way to convert what the user enters into the box to upper case and then use it in the formPanel.search() in the below code snippet?
Thanks for any ideas you might have! R.D. Harles // Search box & button formPanel = new GeoExt.form.FormPanel({ title: "Search", width: 350, region: "west", buttonAlign : 'right', protocol: protocol, items: [{ xtype: "textfield", id: "textBox", name: "Name__like", value: '', listeners: { specialkey: function(f,e){ if (e.getKey() == e.ENTER) { formPanel.search(); } } } }],
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users