Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 11-18-2015, 10:12 PM   #1
Martinricky
Registered User
 
Join Date: Aug 2015
Posts: 434
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Martinricky is offline   Reply With Quote

Old 11-29-2015, 10:48 PM   #2
smmexpertss
Registered User
 
Join Date: Sep 2015
Location: UK
Posts: 446
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
smmexpertss is offline   Reply With Quote
Old 12-11-2015, 02:09 AM   #3
Dubey675
Registered User
 
Join Date: Jul 2015
Posts: 260
Try this
<form>
<input type="email" required /> <br />
<input type="submit" value="Submit Now!">
</form>
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Dubey675 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
UK B2B Email List| Business Email Database| Companies Email List UK B2B Email List Web Promotion 1 08-10-2015 05:21 AM
Ecommerce Email Database - Online Consumer Email List India, USA, UK B2B Email List Web Promotion 0 08-09-2015 12:22 PM
USA B2B Email List - Business Companies Email Database B2B Email List Web Promotion 0 08-09-2015 09:51 AM
[B]Email Marketing Secret[/B] hassaneodx The Market 0 07-03-2014 06:43 PM
Definitive Javascript to hide email address? ncjbhd Javascript 2 06-09-2014 05:27 AM


All times are GMT -7. The time now is 11:11 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.