Over the last weekend I developed a nifty jQuery form plug-in, which lets you interact with various form elements based on user inputs. The item is up for sale at CodeCanyon for $3. You can check out a demo here.

Consider the following situation. You have a form where user updates his/her profile. If the user has a website, he/she can enter the URL field of the form. But he/she does not have a website (or does not want to share), the URL field is disabled. So, you want to enable that field based on user input.

While you can achieve the same by writing some amount of JavaScript for each such field, this plug-in makes it a breeze. It takes only two parameters and does the same for you in just one line of code. :-)

Labels: , , , ,

blog comments powered by Disqus