In addition to the blank forms thing mentioned, you should detect if the given email is in a valid format.
To prevent this blank fields thing, I would apply trim() to the input and then do an IF statement checking if the input is NOT empty and if the input is NOT a blank space (singular). Trim()...