clicking on this will visually collapse the text block directly below it

JavaScript - The Workhorse of the Web

There are a lot of programmers out there who just don't like JavaScript, well folks we aren't one of them. JavaScript is the coolest little scripting language going today and without it life on any given website would be a living nightmare (awfully boring too!). We pride ourselves in our straight forward, no nonsense approach to JavaScript in any web application and are available to handle any JavaScript problem you my have.

Form Validation

  Anyone who has ever tried to use a form on the web has to have run into form validation problems. How to keep one box from being filled in if another is used, getting an email address that really is an email address or phone numbers in the proper formatting are just a few of the many things that can drive most programmers nuts. This becomes even more important when the users input is to be entered into a database. Nothing like blowing up a database just because the users input was wrong! Well maybe we are already a little nuts but we just eat this stuff up. If you are having a problem with form validation please Contact Us with your specific needs.

Some Simple Validation Ideas

One of the things that drives me nuts is how web surfers screw up there email address when entering into a form. People just don't pay attention! To try to fight this I came up with this simple email address validation pattern and test. After installing this on a friends site his bad emails (rejected by the server) drop from 15-20 a day to 2. Feel free to grab it, use it just try to remember where you got it. Cut and paste this into the head of your HTML.

<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
function emailCheck(form) {
    var pattern1 = /[\w\-]+\@[\w\-]+\.\w{2,3}/;
    if(!pattern1.test(form.email.value) {
        alert("The email address you have is invalid!");
        form.email.focus();
        return false;
       }
}
//-->
</SCRIPT>

Make sure your text box for the email address is named "email" and your form calls this function (or one you put this into) like this <FORM METHOD=POST ACTION="yourAction" onSubmit="return emailCheck(this);">. You an also use this type code to validate a phone number to this format xxx-xxx-xxxx by changing the regular expression (pattern) to this:

var pattern2 = /\d{3}\-\d{3}\-\d{4}/; and making the appropriate changes to the name of the form text box for you phone number.

Page Two - More cut and Paste Goodies

Customer Comments

clicking on this will visually collapse the text block directly below it
I won't go anywhere else. They have gained my trust & confidence and have a great reputation in my book!
Lissa Lee, bathandbodycare.com | More Testimonials >>

Latest Articles / Tutorials

clicking on this will visually collapse the text block directly below it |
Our RSS Article Feed Available as RSS Feed!

Check here often for articles & tutorials that will help make your business grow!

| More Articles & Tutorials >>

Partner Comp. & Friends

clicking on this will visually collapse the text block directly below it