

Online Test
So you want to see it in action? Well, I'll put my money where my mouth is and give you the chance to try it out online. I've
developed two pages. The first has ASP that writes the client-side javascript in. The second doesn't. The purpose of the second page
is for you to be able to test the server-side validation (to catch people who don't have javascript, or are trying to dodge your client-side
validation code) without you have to disable javascript in your own browser.
To keep things consistent, we are going to be using the 3 input box form again. All the other rules remain, except I'll only be
accepting ISO-8859-1 alphanumeric characters in the database for the first two fields.
Option 1 - client-side validation enabled
Option 2 - client-side validation disabled
Back to Bringing it all together | Start over at the Contents
Back to Code Listing
|