Is there a way to reference the search term?
Just looking for a way to reference the search term on the results page and place it elsewhere on the page.
<h2>you searched for <%=SEARCH_TERM%></h2>
- You could implement a custom component to do this. It could listen for state changes for the "q" state parameter and display it when it changes (see Implementing a Custom Component).
querySuccessevent to update your HTML element inner text with the "q" state parameter value.