DHTML form validation

Dynamic form validation
You may enter any value
You may enter any value
Valid email address please.
Please entere a number.
Please enter a code like SS-NN-SS-NN, e.g. AB-12-XY-34
Swiss, German or French zip code ch-xxxx only
Enter a valid Internet domain
Enter a valid Internet domain
Which country is the biggest in this list ? One is required

This is a form validation example code that relies on extra attributes. A elegant solution, but HTML code will not validate.
Do not not copy this code from here ! Get the originalfrom dhtmlgoodies.com. See also his DHTML suite that includes an other version of this validator.
Last modified: Sun Apr 27 23:17:02 Europe de l'Ouest (heure d'été) 2008