Check for empty form fields with javascript
Added on:- December/23/2005 by admin

So youve just created a new HTML form and you want to check the results of a user's entry before sending it off to be processed. You've decided that invoking your server to check the form is too much of a hassle. Where do you turn to now? JAVASCRIPT. With the power of Javascript on your side, you can check forms without calling your server to do so. This example will show you how to check for empty fields and return an error message on the discovery on an empty field.

User Comments



There are 0 comments. Be the first to leave a comment.



Leave a Comment


You must be a registered member to leave a comment.