This article was published on November 10, 2012

Garlic.js stores form values locally, so your users never lose any precious data


Garlic.js stores form values locally, so your users never lose any precious data

Hot off the presses, Garlic.js is a new JQuery plugin made by French developer Guillaume Potier which serves quite a simple purpose: to prevent your users from losing their form data.

It may sound a bit dry at first, but when it comes to acquiring new users, usability is everything, and that means preparing for the worst case scenario. Even engaged (potential) users can become deterred by an accidental page refresh, or a crashed tab in Chrome.

Contributing just a bit of extra hope, Garlic.js lets you store form text field values locally, so your users don’t have to worry about losing any precious data. Perhaps best of all, the plugin is extremely easy to use — so if you know how to included jQuery in your HTML, this’ll be a piece of cake.

Just include it, add rel="persist" to the forms you want to auto-persist and call Garlic on your page.

Check it out and let us know what you think!

➤ Garlic.js on GitHub via Hacker News (Link Updated!)

Image credit: George Doyle / Getty Images

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Published
Back to top