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 ...