Hi there,
I want to make some validation for the email field in my form,
I want to make sure that the "@" character is exists and the "." is exists also and the email shouldn't start with a space,
name@domain.com // start with a space
namedomain.com // doesn't have a "@"
name@domaincom // doesn't have a "."
So, I want to avoid people keep on submitting invalid addresses.
How can I achieve this?
I want to make some validation for the email field in my form,
I want to make sure that the "@" character is exists and the "." is exists also and the email shouldn't start with a space,
name@domain.com // start with a space
namedomain.com // doesn't have a "@"
name@domaincom // doesn't have a "."
So, I want to avoid people keep on submitting invalid addresses.
How can I achieve this?