|
JavaScript Form HandlingYou can use JavaScript to add interactive effects to your HTML forms.If you are not familiar with HTML Forms, go through HTML form tutorial. The sections below take you through the different interactive effects that you can give to your HTML forms. JavaScript Form ValidationThe most common use of JavaScript will be to add validations to the form. It is commonly required to validate the data type, size, pattern etc. The articleJavaScript Form Validation : quick and easy! introduces you to the free JavaScript Form Validator script that will make it a lot easier validate your html forms.
Build Web Forms Faaaast!!Using Simfatic Forms it is very easy to design, create, install and maintain web forms; no coding required! Quickly create your form, install it and receive form submissions by email.Click here for more info Submit Form Using JavaScriptIt is commonly required to submit a form programmatically. The article"How to submit a form using JavaScript" explains the different methods to submit a form programmatically. Email a form using JavaScriptYou want the data submitted by the user in the HTML form to be emailed to you. But, how to do that? Read the article:Can JavaScript Email a Form?
Information on formmail script is available in: Dynamically changing the action fieldYou want to send the form data to different cgi-scripts based on some condition. How to handle such a case?Read: Switching The HTML Form Action Field Dynamically Set The Focus on a Particular Element in The FormThe code below shows how to set the focus on an element when the page is loaded.
See the code above in action: Using getElementById to get the elements in a formSee: How to use getElementById to get the elements in a formSetting the value of a form element using JavaScript
Getting the value of a form element using JavaScriptSee: How to get the value of a form element using JavaScriptUsing JavaScript to reset or clear a formSee: Using JavaScript to reset or clear a formAccess form objects when there are multiple formsSee: Accessing form objects when there are multiple forms |
|
. Copyright © 2003-2009 JavaScript-coder.com. All rights reserved. |
||