It's probably that you are hitting the "Enter" key after you type in the keyword, rather than clicking the "Submit" button.
In sub html_view_search, add another hidden field:
<input type="hidden" name="view_records" value="1>
That will allow you to use the Enter key after you type in a keyword search term.
------------------
JPD
In sub html_view_search, add another hidden field:
<input type="hidden" name="view_records" value="1>
That will allow you to use the Enter key after you type in a keyword search term.
------------------
JPD