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.

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.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Pastie - Pastebin to Share Source Code with Syntax Highlighting
Viewed 1250 times since Mon, Jan 11, 2010
10 Most Popular JavaScript Frameworks
Viewed 1443 times since Thu, Jul 8, 2010
jCart - Free PHP AJAX Shopping Cart
Viewed 1682 times since Sun, Jan 3, 2010
jQuery Dropdown Check List
Viewed 1656 times since Thu, Jan 14, 2010
Advanced Backup System - PHP Backup Script
Viewed 1443 times since Wed, Jul 28, 2010
dygraphs JS Charts - Free JavaScript Charts
Viewed 1316 times since Sun, Dec 13, 2009
Best Free Web Icons for Different Purposes
Viewed 1492 times since Mon, Dec 28, 2009
How to prevent access to a specific file on server using htaccess?
Viewed 1337 times since Sun, Mar 14, 2010
Free Visualization Components For Flex (AS3)
Viewed 1158 times since Sun, Jan 3, 2010
MENU