Validating a checkbox using javascript

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.(16 printed pages) Introduction Getting Started Writing the Validation Script Connecting the Form to the Script Associating Form Fields with Custom Script Code Listing Conclusion When you create forms, providing form validation is useful to ensure that your customers enter valid and complete data.

Because the code is stored on the server, server-side validation requires a roundtrip to the server.Sending data back and forth between the client and server can cause some delays.However, for some form functions, server-side validation is necessary.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.Client-side validation provides validation within the browser on client computers through Java Script.

Please or register to post comments
If spammers comment on your content, only you can see and manage such comments Delete all
Hi, I am trying to validate a checkbox selection but my code doesn't work. Here is the code I have form action="form.php" method="post. 
28-Sep-2018 21:32
Simple JavaScript Checkbox Validation. Ask Question. How to validate checkbox using Javascript. Related. 2067. Validate decimal numbers in JavaScript - IsNumeric 
28-Sep-2018 21:36

Validating a checkbox using javascript introduction

Validating a checkbox using javascript

Recent posts

29-Sep-2018 03:43
29-Sep-2018 23:38
30-Sep-2018 08:25