I'm trying to validate email input and I want to display a success message when the user clicks submit button after typing some text/number in input and I want to display an error message if user clicks the button without typing anything. The problem is : that only if statement works but else statement does not work. Thanks so much in advance.

Aucun commentaire:
Enregistrer un commentaire