Prevent form submission

Prevents form submission after a location has been searched