Form Validation

Form validaion is a bit like picking spuds, you know you want to eat the spuds, but you got to dig them and then pick them (spuds are potatoes for the non Irish reading this)  so how do we do this efficiently, well I’ve been starting to use the jQuery Validation Plugin it seems to work pertty good, and it’s plain and simple, so how does it work, well the doc’s are a bit sparce, and it’s javascript, which isint the easyest language in the world to program in.

 

so here goes:

Put below at the top of your html web page, this collects the jquery and the jquery validate library’s

 

Then you need add the scripting part, i do a standard debug check to see that jquery works first.

 

Now we have the script ended we can start the HTML and the form

 

 

Thats pretty much it,  yes you can do alot more fancy stuff, but this is a start to get you going.

Comments are closed.