Example using return false; Suppose we had a form in which we ask the user to enter their address into a text field called ‘ txtEmailAddress ’.