However, client-side validation may not work in all instances.A user may have a browser that doesn't support client-side scripting or may have scripting disabled in the browser.In order to access your form fields in code, you need to assign names to the form and each of the fields. For more information see, NAME Attribute | name Property.
Now we will see how we can validate our entered form data before submitting it to the web server.
The following example shows how to validate an entered email address.
Lisa Wollin Microsoft Corporation May 2004 Applies to: Microsoft® Office Front Page® 2003 Microsoft Front Page 2002 Microsoft Front Page 2000 Summary: Learn how validate HTML form fields using Java Script in Microsoft Office Front Page 2003.
This article assumes a general understanding of HTML and Java Script.
Server-side validation incorporates code validation into a form handler. NET application on the server that provides the functionality that your form needs for processing after a customer has submitted it.
Because the code is stored on the server, server-side validation requires a roundtrip to the server.
Because the code is stored within the page or within a linked file, it is downloaded into the browser when a user accesses the page and, therefore, doesn't require a roundtrip to the server.
For this reason, client form validation can be faster than server-side validation.
Knowing the limits of client-side scripting helps you decide whether to use client-side form validation.Tags: Adult Dating, affair dating, sex dating