Validating textbox in javascript

posted by | Leave a comment

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.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.You may assign any name you want that is composed of alphanumeric characters (without spaces), but to make writing the code easiest, you should provide a useful, friendly name for each of the fields.

validating textbox in javascript-29validating textbox in javascript-5validating textbox in javascript-52validating textbox in javascript-54

For this reason, client form validation can be faster than server-side validation.When referring to Java Script in general, this article uses the generally accepted term "Java Script." However, when referring to documentation on the Microsoft Developer Network (MSDN) Web site, this article uses the term "JScript." Note The previous code specifies an e-mail address for the Action attribute of the form property.For more information, see ACTION Attribute | action Property and form property.The action attribute tells the browser what to do when a user submits the form.If you want to test this form, change this e-mail address to your own e-mail address.

Leave a Reply

Free international sex dating site