I'm having a problem with the search, I don't know weather the answer for my question exist or not, But my question is :
This is regarding Search in silverstripe all Versions :
Case 1 : The normal function of search : If we enter some query and click search, then the search would obviously search for the answer to the query asked by the user and displays it.
Case 2 : If we enter nothing in the search field and click on the search button, Now the search is listing the entire content from the website.
My Question is : How can we display an error message stating some message. May be " Your search did not match anything in this website " The point is that, I need an error message, when the user doesn't input a query and clicks Search.
Storm Striker Sumesh