search.html form error handing