Using the HTML5 localstorage API to protect forms
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Form_protector.css
README
form_protector.js
form_protector_demo.html
form_protector_demo.js

README

Author:      	 	Frank M. Taylor. 
References:   		My blog post: http://blog.frankmtaylor.com/2011/12/01/using-html5s-localstorage-api-for-protecting-forms/
Version History:	
v1.0	::	Forminator published. basic functionality for local storage protection on all form inputs
v2.0	::  Forminator turned into a jQuery plugin:
			Accepts three arguments: fields to protect, attribute to use as a key, clear button
			Only stores data for the form for which you apply the method
			changed storage key to be  [form id]-[name attr]
			added some notes at the top of the plugin
v2.1    ::  StoredFields argument works now, so you can add whatever selectors you want. Range field is fixed and 					capturing data

Usage:       Just download form_protector.js and set $(yourform).forminator() for the default actions

Upcoming: going to set in some default properties that cover all of the inputs