Saturday, January 23, 2010

Java Script

Java Script form validation


By   Tanaya Karmakar
(student, Future Group  of Engineering College,Kolkata)







Here is a Javascript form that i have made. Most  common types of  input mail validations you can check through it.  You can add it in your website or in your college project.


Download the complete code from following link


http://rapidshare.com/files/339789811/javascriptform.txt


save it as .html file and run it.


Fill the form and keep one or two fields blank. Then click submit button.
Now see how  input validations are done.


If you like it  don't forget to give comments. I have given a screenshot for you, how it will look like when it will run in browser.














2 comments:

  1. Sir, i am Kushal, from Orissa,The javascript program is nice.
    But it needs a bit improvement. Like if you fill some fields in between and leave rest then it marks all the fields one by one(including the fields that have been filled).
    Thank u for your effort.

    ReplyDelete
  2. Thanks for trying the javascript. Its working perfect. You run again and check it. it will work

    ReplyDelete