Add validation for "Email address" field
Closed this issue · 1 comments
veronicamacovei commented
Website Page - https://www.adtechmedia.io/calculator-result/
Email address field
Actual result: This field is valid when I insert:
- Email with a dot on the first position
- Dot is missing from email
- Allows other characters except (digit, underscore, and dash)
- Allows double dots
Expected result : Email with be invalid if:
- @ is not present
- mysite@.com.my [ (Top Level domain) can not start with dot "." ]
- @you.me.net [ No character before @ ]
- .mysite@mysite.org [ an email should not start with "." ]
- mysite()*@gmail.com [ here the regular expression only allows character, digit, underscore, and dash ]
- mysite..1234@yahoo.com [double dots are not allowed]
- mysite@gmail [Dot is missing]
avozicov commented