WebDevelopersJournal.comTips on Web Page Design, HTML and Graphics
SITE SEARCH
Newsletters
HTML (M-F) Text (M,TH)



Jobs at webdeveloper.com

Resources By Subject
Technical
Graphical
Authoring
Business
WDJ resources
Archive

internet.com

internet.commerce


Developer Channel


Find a web host with:
CGI Access DB Support Telnet Access
NT Servers UNIX Servers



Semi-automatic?

JavaScript
JavaScript Helper:
Meet Paige Turner, the least geeky geek we've ever come across.

Variables and Operators Explained:
First of a three part guide to JavaScript basics.

Controlling Forms:
Enhance your HTML forms with a touch of JS.

DHTML:
Forget how it works, let's see some in action!


Using JavaScript to Validate Form Entrie

Check at the Client End

by Paige Turner

JavaScript is very useful when it comes to checking HTML forms for valid entries. You can check that your visitors have filled in your forms correctly before they're transmitted over the Internet. The scripts are often activated when the Submit button is pressed. If there's a fault, they supress the transimission of the form contents and show an error message. Here's a selection of links to validation scripts and information.
November 29, 2000

Using JavaScript To Control Forms - required fields
Ensure that required fields are filled in by the user.

More on Controlling Forms - limiting characters
Details on the Select element, plus Regular Expressions used to limit the kind of characters accepted in a field.

Phone Number Verification
A sophisticated check for phone numbers. Since these might be long distance numbers or international numbers, the check's not too strict.

Client-Side Form Verification 2
Simple form data verification.

Client-Side Form Verification (Part 2)
More from WebDeveloper.com

Detecting a Modifier Key
Learn how to intercept modifiers, such as the Shift Key, in both browsers.

Implementing Read-Only Fields
Learn how to blur a text field to avoid any editing.

Preparing a Form for User Corrections
How to prepare a form for error correction by the user.

Form Validation
How to check form fields before submission.

Disabling Form Elements
Find out how to create disabled form elements, and how to enable them with JavaScript.

Is That Really an Email Address?
Be sure you are getting real email addresses, not useless garbage.

Scripts for forms

Basic Validation
A simple way to require visitors to fill out certain fields is to us this script.

Prevent users from selecting a filename with a space.

Email Address Validation

Make sure your visitor doesn't exceed a maximum number of characters

Ensure that visitors do not leave a form entry blank

How do I validate the form input before sending it to the server?

Suits PonytailsPropheadsContact WDJDiscussWeb AudioSearch



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES