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.
A function is a piece of code that consists of one or more lines of script.
A function can take arguments and can return values.
Note Front Page Server Extensions are a set of programs that provide access to special Front Page features, such as database processing, form processing, hit counters, and other built-in Front Page components that require server-side processing.
You can provide custom validation for your forms in two ways: server-side validation and client-side validation.
For more information about HTML and Web scripting, see one or more of the following references.
Sending data back and forth between the client and server can cause some delays.
However, for some form functions, server-side validation is necessary.
In this table, Element refers to the name of the HTML element for the form field, Type refers to the value of the type attribute for the form field, and Label refers to the text to the left of the form field. Form code updated with name attribute values Now that you have assigned names for the form and form fields, you are ready to start writing the script that handles the validation for the fields. If you are typing the Java Script code in this article manually and receive errors, you should check that all casing is the same as shown in this article.
Otherwise, you may want to review JScript Run-Time and Syntax errors.
Search for validating office:
For example, if you have a form that populates a drop-down list based on the value of another form field, server-side processing may be needed to pull data from a database and populate the drop-down list.