Categories
Links

Garlic.js

>[Garlic.js allows you to automatically persist your forms’ text field values locally, until the form is submitted. This way, your users don’t lose any precious data if they accidentally close their tab or browser.][link]

Uses localStorage if available, to boot. The author suggests marking up your forms with rel=”persist” and that sounds reasonable enough to me.

[link]: http://guillaumepotier.github.com/Garlic.js/ “Garlic.js”

Categories
Links

“No Dashes Or Spaces” Hall of Shame

[From the Usability Follies dept][link]. It actually takes the same amount of work to check for a valid card WITH spaces or dashes as without. It’s one line of PHP, Perl, Ruby, whatever your flavor of webcode is. No excuse.

[link]: http://unixwiz.net/ndos-shame.html “”No Dashes Or Spaces” Hall of Shame”

Categories
Links

A Form of Madness

[The latest addition][link] to Mark Pilgrim’s quickly-becoming-essential “[Dive Into HTML5][series]” series is about forms, and it is (as one might expect) the most cogent description of [HTML5’s new form attributes and types][html5] that I’ve seen so far.

[link]: http://diveintohtml5.org/forms.html “A Form of Madness – Dive Into HTML5”
[series]: http://diveintohtml5.org/ “Dive Into HTML5”
[html5]: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#forms “The FORMS section of the HTML5 specification”