Showing posts with label form validation using javascript. Show all posts
Showing posts with label form validation using javascript. Show all posts

Friday, July 25, 2014

Form Validation Using JavaScript

The Internet is a great place to do some research on any topics that we have in our mind. There is a lot of resources out there that we can utilize as source of information that can help us in our day to day lives. Being a web developer one of my big challenges is how to validate information being given by the visitors to my site that I working with. This can be a big headache to us if the user gives us invalid values or no values at all in our form our website is useless primarily because we can't get relevant information  from our users that can help us improve our website or clients who wish to contact us about our product or services offered through the use of Internet as our medium communication.

In this article I would like to share with you a simple JavaScript for form validation that I wrote using the JavaScript code that I was able to get freely from http://www.javascript-coder.com/. The script is very useful in making form validations that can check if the visitor of our website was able to fill up information on several fields that we lay down in our website. The script itself is free to use in your website provided you do not remove the credits of the original author of the code.

I also include the HTML and CSS file for the webpage layout and design, you may modify the code that will fit in in your needs in your website you are planning to create and implement.

If you have some question feel free to send me an email at jakerpomperada@gmail.com and jakerpomperada@yahoo.com.

Thank you very much.



Sample Output of Our Program