Try changing your query.where statement to this unless you have a field called Upper(ADDRESS1):query.where = "ADDRESS1 LIKE '%" + station.toUpperCase() + "%'" ;Also you have an extra space in the onclick event:onclick="executeQueryTask(dojo.byId('station').val ue);" Change it to:onclick="executeQueryTask(dojo.byId('station').value);" I hope this helps.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.