Jump to content

Stop searches with no location input


Matthew Bayliss

Recommended Posts

Currently if you don't enter an address/post code on the search module the results return all listings. I want to avoid this where possible, but wanted to double check what the best way of doing it was.

 

The first one that came to mind would be an alert if no address was put in the search box, but that doesn't stop somebody manipulating the URL to view all of the results.

 

Thoughts?

Link to comment
×
×
  • Create New...