Simple but rugged form handling demo
Archive - Originally posted on "The Horse's Mouth" - 2006-03-10 07:35:35 - Graham EllisThere are some weeks (OK - MOST weeks!) where I have great fun during training course writing examples in front of the class that help with their application of the subject being taught. And this is one of those weeks.
It's an added pleasure where the demonstrations are web based, because I can then put a running copy up onto our web site and share the fun with everyone.
Here is a little demo - nothing too complex - that lets you enter in some values to a form. It validates the entries, gives you opportunities to correct errors without having to rekey everything and produces a nice final result. Not rocket science, but the sort of thing so many web sites need. As it's a training example, I'm able to put up the source code too and I've even built in some documentation.
Oh - the application is also "bullet proofed" so that users are prevented from doing lots of the nasty things that can be done to an interactive web page ... or rather, if they try, they'll be thwarted!