Trying to perform a query task that searches two separate fields. The user text input can either be the Name field or a Docket field.
// Executes on each button click
function doQuery() {
// Set the search text to the value of the input box
document.getElementById("inputTxt").value
queryParams.where = "Name like '%" + document.getElementById("inputTxt").value + "%'";
layer.queryFeatures(queryParams).then(showResults);
}
Appreciate the help.