» Home / Scripts / JavaScript / Forms / Form Validation

Form Validation 1 details



 Form Validation 1 details
 Developer:
 pratherproductions.com
 Hits:
  7391
 License:
 
 Version:
 1
 Platform(s):
  Cross-browser compatible
 Date added:
 2004-03-16
 Date updated:
 2004-03-18

 Form Validation description

This is a simple form validation script that checks for empty fields. Dreamweaver offers very little in JavaScript form validation unless you're using Cold Fusion. In my opinion the built-in form validation behavior in Dreamweaver is sloppy and not user friendly. This script creates required fields and makes sure that the fields are not empty when the user submits the form. If the required fields are empty, the form does not submit and the focus is set to that text field. Setting the focus is a nice feature because the user is directed to the exact field that produced the error. You can do more with this script by making sure the form does not contain certain words, email address validation, and so on. For this demonstration I am only showing the basic script. Feel free to modify and utilize this script in any way you see fit. If you have any questions, contact me.



Related scripts

The visitor must fill in either one of two fields, their name or email address. If they click in either box the other box's value is erased. Ensures that when the form is submitted only one field contains a value. Also contains validation that
Developer: javascript.internet.com Platform: Date upd:1999-08-10 Hits2584 [Visit]
This script demonstrates how to prevent your users from submitting the same form data multiple times. If the user click the submit button more than one once, it shows a small message that the form data has been already sent.
Developer: creation-de-site.net Platform: Date upd:2001-10-08 Hits6198 [Visit]
Like Ajax auto complete in those cutting edge applications? Auto complete has a widely usage today, especially in Accounting, CRM, HR, ERP and Manufacturing software. Our product is the most simple, elegant, beautiful Ajax autocomplete component. Give a trial within an hour.
Developer: support@capxous.com Platform: linux, windows, freebsd, osx, sun Date upd:2006-12-17 Hits3055 [Visit]
Pungo spell is an easy, and more importantly, a FREE way to add a studly spell checker to just about ANY web application. <p> What does it require?<br> ---------------------<br> PHP 4.3.1 (http://www.php.net) or greater with Pspell support enabled. If your system doesn't have pspell/aspell
Developer: sourceforge.net Platform: multi - requires PHP Date upd:2003-08-06 Hits1960 [Download] [Visit]
JavaScript Spell Check is a comprehensive spell checking component for JavaScript. JavaScript Spell Check is compatible with AJAX, ASP, ASP.NET, DHTML and WC3 HTML and XHTML. It is also compatible with almost all modern web browsers. A Free Trial is available to download. SPELLCHECKER
Developer: JavaScript Spell Check Platform: windows Date upd:2007-02-20 Hits2696 [Download] [Visit]
Home | New | Submit | Link to us | Contact Copyright © RoxySoft.com [0.161 s]
eXTReMe Tracker