Blog Catalog - Premiere Social Blog Directory BlogCatalog
Buy SEO Book - The Best Resource for Search Marketing. A Must Read.
Monetize Your Website! -
Host Gator - Recommended Webhost. Click Here and Use The Coupon jury to Get Your First Month For Just $0.01. No Annual Contract, Setup or Hidden Fees.
JavaScript Forms- Lesson 3
JavaScript Forms

Being able to successful create JavaScript forms isn’t a difficult process but it may be one that you are unsure about. The common misconception that creating web pages takes an expert computer programmer just isn’t true. While you will use HTML to create JavaScript, you need to realize that they aren’t exactly the same.
With JavaScript you will have several different handlers that the user can click on to perform the necessary actions. This is very important because the easier your web pages are to navigate the more interested consumers will be in them. Some people are very new to using the internet and others are experts so you want to be able to appeal to the level of skill of everyone.
The various JavaScript forms that you create will have coding inserted behind the scenes where the consumer can’t see them. For example your site may have an opt in form for the user to complete. At the bottom they simply click on the form that says SUBMIT. The codes you have entered behind the scenes work to process the information that they have provided.
In order to have a successful JavaScript form called a widget, you need to have several elements in place. They include the form name, the action you want the user to be able to perform, a method for that information to be processed, and a value for each of the JavaScript forms.
There are many different ways in which you can set up JavaScript forms on your web pages. While a simple box that they click is the easiest you may want to offer a radio box or drop down menu if there is more than one option they can select from. You can also offer a text box if you want the user to be able to type in various information.
Before you put your web pages up for consumers to look at, you want to take the time to validate all of the information you have placed into the various JavaScript forms. The goal is for everything to work exactly as it should on the first try. If you come across JavaScript errors you should check each field of entry again. It is going to take some time to master JavaScript but once you do it will become one of the most valuable tools you have to offer.
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
June 28th, 2008 at 1:36 pm
[…] are unsure about. The common misconception that creating web pages takes an expert computer prograhttp://www.designersmind.com/articles/javascript/javascript-forms/How to radicalise our universities Malaysia TodayOur students are being treated like extensions of […]
August 17th, 2008 at 10:19 am
What are your thoughts on the trend I’ve been noticing which is to utilize JS for validation only and parse the rest of the form in PHP. I just don’t see JS forms being used much these days and wonder why. Is it convenience?
Looking forward to your thoughts.
Mike
October 16th, 2008 at 10:50 am
Well, it might be that at large people are becoming more capable of having faster and faster internet, so client-side parsing isn’t *as* big an issue since more people have faster internet than, say, Dial-Up, nowadays and can handle more server-side. I use both, actually, depending on the type of information and/or how I’m gathering the information and where it’s going. It’s also more safe to have twice as much validation, but in most cases that is unnecessary and probably overkill. But then again, it goes back, at least for me, to this issue: Are we designing sites for all visitors, including those with not-so-good internet, or are we making ourselves a part of the stimulus to “force” more and more people to upgrade to better internet? Are we sacrificing service for a better and simpler future? And those were my thoughts.