I currently have a “search box” in our admin navigation that is submitting to a searchOrdersAction.jsp page.
<tr align="left" valign="top">
<td> </td>
<form action="searchOrdersAction.jsp" name="form" method="get" ><td><input name="CustEmail" type="text" class="DataEntry" id="CustEmail"></td><td><input name="Submit" type="submit" class="SOBut" value="Go"></td></form>
</tr>
As of now, the search box only allows searching through the customer email. I was wondering is it possible to include a dropdown, which would have two options, which would change what is being searched for? I can physically change the search by changing the input’s id from “CustEmail” to “OrderID”.
Note: I can only use one search box. Is it even possible to change?
I assume you can’t change the search jsp yourself, and can only change the admin interface to it. In that case, this should work:
Untested, but it’s pretty straightforward.