I want to validate my email address through jquery unobtrusive validation. Like to make
any field required , data-val-required attribute is added in the field. So same for email
validation which attribute i can use?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use:
Of course you need to add the jQuery validation plugin, but I guess you did that already or else the
data-val-requiredwon’t work either.