Archive for the ‘Forms’ Category

There are various form validation plugins for jQuery and very good ones exist between them.

Many of them have lots of features and, if you are looking for a simplistic one, Happy.js can be a good alternative.

Happy.js - jQuery Form Validation Plugin

The plugin is lightweight and supports few input validations by default (required, date, number, e-mail, min/max and phone number). But it can be extended so easily by adding few lines and the regex for the rule you want.

Its styling in case of an error is smartly thought. Any non-validated elements get a custom class. Also, a <span> element is added for each non-validated item so that an error text can be displayed.

And, Happy.js works with Zepto.js as well.

FileDrop is a JavaScript class for quickly creating drag 'n' drop file upload interfaces.

The class doesn't require any JavaScript frameworks and works cross-browser, including IE6 (with iFrame fallback).


It has support for multiple file uploads, there are callbacks on many events and any number of FileDrop uploaders can be used in the same page.

Also, the size of the class is lightweight (3.5 gzipped) and its API is well-documented.

For the last few months, with Devrim,  we were very busy working on a new project which focuses on easing the web development tasks of any web person (so, the title is a little self-promotion but not an exaggeration -: )-).

It is called ioDeck and launched, built with PHP and it is installed into (runs from) a single website and serves its features to any number of websites.

Like said, it focuses on easing web development tasks and we started simplifying the biggest headache for many: forms (the most simple looking yet complicated web elements).

PHP Form Builder - ioDeck

Creating a simple form is not a big deal but integrating validations (on the client-side and server-side), sending the contents via e-mail, recording it to a database and having an interface for viewing them later requires serious effort. And, if this form has many fields (like a HR form), this gets worse.

ioDeck is an intuitive form builder where a form of any type can be created within seconds. It simply allows you to insert form elements (textfields, radio buttons, select boxes, buttons, etc.), set the validations, re-order the items with drag 'n' drops and build any simple-to-complicated form so quickly.

There are many built-in validation rules (required, e-mail, URL, min, max..), they are validated both with JavaScript + PHP and there is support for reCaptcha for spam protection.

ioDeck Form Builder

You can also define the default values of a field and set a CSS class for it to customize it.

ioDeck is so good in notifying users when a form is submitted. It can send the notifications via e-mail (with PHP mail() or SMTP authentication), Twitter and Facebook. Btw, you can create and customize the templates of these notifications so they look exactly as you want and reflect your brand.

Also, forms can display a custom message and redirect to a given URL after submissions.

Once the form creation is complete (it really takes seconds, give it a try in the demo), we can go to the embed menu and select its look from a list of styles (the forms HTML structure uses Twitter Bootstrap's form structure which is so flexible to customize). Or select a bare-bones version to customize it yourself completely.

After that, simply choose the embed method that fits to you the best:

  • a shortened URL to the form (in case you want to share the form via Twitter, e-mail, etc.)
  • embedding via JS or iFrame
  • getting the HTML code of the form (for max customization)

And, voila! A fully-functioning, customizable and secure form is ready for collecting submissions.

ioDeck Dashboard

When a submission occurs, you (+ your customers, friends..) will be notified, these submissions will also be stored and can be viewed from ioDeck anytime.

As mentioned in the beginning, ioDeck will ease multiple tasks. Forms was the 1st app, 2nd app will be Newsletter for sending unlimited newsletters to your lists (and e-mail fields of forms). Let's keep the 3rd app as a surprise. ioDeck is priced $69 one time fee (no monthly payments), a "use it forever" license and comes with 6 months of free upgrades + support. And, any future apps will have their own prices.

P.S. By clicking the "Demo" in ioDeck, you get a full-featured custom installation that will be available for 48 hours so that you can play with it.

Early Birds Special For WebResourcesDepot readers

First of all, thanks very much for being an awesome reader of WRD.

And, here is an "Early Birds Discount Link" for WRD readers that will bring down the price to $59 for the next 1 week.

Looking to hear your feedback and have a great day!, a mobile prototyping service, has created a handy generator for quickly creating on/off flipswitches.

The switches are built with pure CSS3 and it is possible to customize the look completely.

CSS3 On/Off Switch

It also comes with pre-defined styles for iOS4, iOS5 and Android as well.

P.S. In order to add functionality to such a control, it would be a good idea to listen to the "state" of the switch and add our custom events accordingly.

  • Tags:
  • Filed under: Forms, Goodies, No License
  • Usually in web apps, when we want to collect color values from users, color pickers help a lot. And, there are various high-quality color pickers out there.

    colorjoe is a new one which differentiates itself by being completely scaleable which is great for responsive layouts.

    colorjoe - JavaScript color picker

    It doesn't use any images, can be customized with CSS and works with all major formats (RGB, HSL, HSV or CMYK).

    The color picker is standalone and has 2 callbacks: change (which is triggered continuously to detect value changes) and done (which is fired when a color is selected).