PostFree Simple Validation Script

This script is a very easy and elegant way to verify data that is to be submitted is valid before the actual validation process without reloading the page.

The idea is not new and it is not original. I made this script because I didn’t want to use a lot javascript files unless it was necessary. This little script uses jQuery, which needs no introduction and PHP with a MySQL back-end for storing data and another js file that does the connection between the PHP and jQuery.

This script has the following features:

  • small filesize;
  • fully customizable;
  • very fast;
  • elegant.

To use this script, all you need to download this script, as it includes a working example and customize it to fit your website. The example implementation doesn’t do the actual submitting because I didn’t use the <form></form> tags. It is only made to show how the script works.

You can, of course, extend it for different types of fields with your own validation methods, javascript, on the client side or PHP, on the server side. Either way, the validation methods used are both javascript and PHP, so you should continue without any problems to expand it to fit you needs.

The styling of the form and messages can be easily modified via CSS.

Demo: Simple Validation

Download: Download (32.07KB) snatched 4258 times

I Disclose

Stay Connected

Subscribe to RSS Feed

Subscribe to RSS Feed

Follow me on Twitter

Follow me on Twitter

Subscribe via e-mail

Subscribe via e-mail

Comments 5 Responses to “Free Simple Validation Script”

  1. Above link for download it’s broken.
    Please give me link to download, I want to use it for my web.
    Special thank,
    Lek

  2. Download link is broken. Please provide a working link and mail me the link if possible. Thankx

  3. Download link is not working >>>>>>>>>>>>>>>>>> Please fix it … I like this script.

  4. Download link fixed. Enjoy!

  5. very nice! Thank


Post your comment

Leave a Reply