Display error if email input text field is missing "@" or "."

Hello i have a form that contain an email field , if user doesn’t fill the field in this form : "mail@mail.com" an error will be displayed . How to do it?:luigi:

THanks!