Ahh, the humble jQuery plugin. As a web developer, experimenting with new jQuery plugins is probably a favourite pastime of yours, as it is ours (yes, we’re just that geeky). Every so often however, you will inevitably come across a plugin so simply divine that you need to implement it on your own website.
For us, the spotlight currently glows upon a neat little plugin that goes by the name of mailcheck.js.
This humble jQuery plugin is nothing more than a mere validation method for website forms, but the way it works it’s magic is worth a mention.
You see, there are literally countless emails wandering about the internet with nowhere to go – simply because the author of the email has made a typo in the email address of the recipient. These poor emails then get lost into oblivion, never to be seen again.
Mailcheck.js has been developed to put a stop to email address typos. If a visitor to your website is filling in one of your website’s forms, and they misspell the domain name of their email address, mailcheck.js will automatically prompt a suggestion with the correct email address. For example, if one was to type “firstname.lastname@example.org“, mailcheck.js would then ask whether one meant to type “email@example.com“. How marvellous!
It is worth noting that this plugin is only effective against emails using the most popular free email providers (such as Hotmail, Gmail, Yahoo! etc), so email addresses utilising a personal domain name will not work.
We have implemented this plugin within the form on our contact page, so you’re more than welcome to give it a try! If you’re thinking of implementing a feature such as this within your website, please get in touch and we’d be happy to lend a hand.
Find out more: https://github.com/Kicksend/mailcheck