masukan email anda:

artikel baru langsung masuk ke email anda, GRATIS!

Email Validation script


This script uses regular expressions to check that a form field contains a valid email address. Note that it won't catch all invalid emails, like most similar scripts. However, for most intents and purposes, this script should serve its purpose well, by rejecting common email typos while leaving room for obscure yet valid emails to pass. Here are some examples of valid email addresses that this script will recognize:

* edward@

How to create is:1. go to
2. layout- edit HTML
3.Add the below script to the <BODY> section of your page:

<script type="text/javascript"> /*********************************************** * Email Validation script- © Dynamic Drive ( * This notice must stay intact for legal use. * Visit for full source code ***********************************************/ var emailfilter=/^w+[+.w-]*@([w-]+.)*w+[w-]*.([a-z]{2,4}|d+)$/i function checkmail(e){ var returnval=emailfilter.test(e.value) if (returnval==false){ alert("Please enter a valid email address.") } return returnval } </script> <form> <input name="myemail" type="text" style="width: 270px"> <input type="submit" onClick="return checkmail(this.form.myemail)" value="Submit" /> </form>

The code above includes a sample form where this script validates the email field contained. The form looks like this:

<input name="myemail&quot; type="text" style="width: 300px"><br/>
<input type="submit" onClick="return checkmail(this.form.myemail)" value="Submit" />

To customize this script to serve your own form(s), simply change the parts in red above to your own. More specifically, you should first give your email address field a name(ie: name="myemail"). Then, modify the submit button of the form by adding in the "onClick" portion. Remember to change "myemail" to reflect the name of your email address field.

thus submitted by tipsyournet, hopefully this post helpful to us, if there are any questions, please click comments
Postingan Terkait Lainnya :

Related post | Widget by
.Ingin artikel seperti ini langsung ke Email anda? Silahkan masukan alamat email anda untuk berlangganan atau Mau dapet tips2 lain yang lebih seru & orang lain belum tahu.

Masukan alamat email anda:


Cassie said...

This looks interesting.. The software that you have, or I mean, the code and the software that came with it looks like, I can use it for my new forum site.. Great!

Email validation software

Anonymous said...

? Resolve to give the training time and support to work You just have to ask On the third day, he drifted off to a painful sleep after the prayers, as usual The Sixth SealNow in this seal judgment God starts to take action! With all the killing that is starting to occur in the above events, God shoots a heavy "torpedo" at the earth
One or the other has to take overIf you just turned your printer on for the first time in a while or if the printer has been standing idle for a while, the printer will run through a series of diagnostic testsAlso a groomer should not use a hand-held hot dryer on a dog drying in a stainless steel cage The first home-based desktop laser printer was released in 1984 by Hewlett-Packard

[url=]Victor Cruz Giants Jersey[/url]
[url=]Antonio Brown Jersey[/url]

Both of these require guessing and detective work Mister To keep it from becoming a national epidemic we simply stop the situation in it's tracks

[url=]Marshawn Lynch Kids Jersey[/url]

sherlina halim said...

Pengen yang lebih seru ...
Ayo kunjungi
Buktikan sendiri ..

Real Play = Real Money

- Bonus Promo Red Card pertandingan manapun .
- Bonus Mixparlay .
- Bonus Tangkasnet setiap hari .
- New Produk Sabung Ayam ( minimal bet sangat ringan ) .
- Referal 5 + 1 % ( seumur hidup ) .
- Cash Back up to 10 % .
- Bonus Royalty Rewards setiap bulan .

Untuk Informasi lebih jelasnya silahkan hubungi CS kami :
- YM :
- WHATSAPP : +63 905 213 7234
- WECHAT : asianbet_77
- SMS CENTER : +63 905 209 8162
- PIN BB : 2B4BB06A / 28339A41

Salam Admin ,

Download Disini

Post a Comment