Yes its good for a user-friendly addition of sorts to trigger a javascript alert or prompt, but doesn't really change functionality and can be abused if people don't understand server-side validation ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results