Article Diary - General Knowledge Digest

Beautiful Forms With CSS + JavaScript

Niceforms is a script that will replace the most commonly used form elements with custom designed ones. You can either use the default theme that is provided or you can even develop your own look with minimal effort.

The script will basically transform this:

Normal HTML Form Elements

Into this (or whatever you want it to look like):

CSS Styled Form Elements

Niceforms, a script to beautify web forms, was very popular for creating beautiful forms. And now the 2nd version is out. Niceforms 2.0 is a totally re-written version which is very easy to apply, handles more elements & has more customization options.

The script simply replaces the most commonly used form elements with custom designed ones. Inserting the niceforms.js & the CSS file is enough to use it. Besides the default theme, new themes can be developed with CSS editing. Niceforms works in all modern browsers except IE6 (it gracefully degrades).

Using Niceforms

Niceforms is applied to all forms that have the class “niceform”. You can have other classes in there as well but one of them has to be “niceform” in order for the script to work. One of the important aspects of the script is that it requires a correctly coded form, including properly declared labels and values. There‚Äôs not much room for error and, if anything, it will force you to code your forms correctly.

3.67 (3)
Article Rating (3 Votes)
Rate this article
Attached Files
There are no attachments for this article.
Comments (1)
Comment by Palwinder Singh on Fri, Nov 20th, 2009 at 3:48 PM
Really, good one.
Security Code Security Code
Related Articles RSS Feed
IE6 CSS Fixer - Web-Based IE6 CSS Fix Tool
Viewed 1140 times since Thu, Dec 31, 2009
Easy Slider jQuery Plugin - Easy Image or Content Slider
Viewed 1622 times since Tue, Jan 12, 2010
Before and After Picture - jQuery Plugin
Viewed 1496 times since Tue, Dec 29, 2009
ProFolio - Instantly Create Free Portfolio Website
Viewed 1620 times since Sun, Jan 3, 2010
Facebook Style Chat Script - ArrowChat
Viewed 1245 times since Tue, Aug 3, 2010
Coming Soon Template
Viewed 1192 times since Thu, Nov 12, 2009
JavaScript Tree Menu Component - jsTree Menu
Viewed 1897 times since Sat, Jan 9, 2010
Plupload - Multiple Files Upload Script
Viewed 1477 times since Tue, Feb 9, 2010
PHP Quiz Questions and Answers
Viewed 3936 times since Mon, Jan 11, 2010
30 High Quality Charts & Graphs for Web Developers
Viewed 3197 times since Wed, Mar 23, 2011