![]() |
How to Validate an email address in a form
Hii Guys. .
i want to know that how we validate an email address which user enters in a field in a form.Please Give me the code. |
When setting options via HTML attributes, remember to enable the validator by setting data-fv-emailaddress="true".
You don't need to do that when using HTML 5 type="email" attribute. The message and other options can be updated on the fly via the updateMessage() and updateOption() methods This validator passes an empty field since the field might be optional. If the field is required, then use the notEmpty validator. |
Try this
|
All times are GMT -7. The time now is 02:47 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.