I am following the same book & have the same issue as here:
How do I fix this? I can post code & screenshots if needed. I'm a total beginner so anything helps.
Edit: I have a form where people submit a message. I have validation set up to make sure the message is required and is longer than 10 characters. I want an error message to show up when the user tries to submit without a message or the message less than 10 characters. However, the message shows up automatically, before the user has a chance to submit it. I want the message to NOT show up immediately. I want it to ONLY show up if there are errors when the user clicks the submit button.