Save and Restore Form Cookies

By Tony Davis on Feb 3, 2006

General

This script will save all of your form fields in a cookie. It includes all text fields, radio button selections, checkbox values, etc. When your visitor returns, all form fields are automatically repopulated with the same value that they entered on their last visit.


Notes

  • Created by: Tony Davis
  • Web Site: http://www.tdavisconsulting.com
  • Posted: February 03, 2006

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: saveRestoreForm.js


Head

Paste this code into the HEAD section of your HTML document.


Comments

Blog comments powered by Disqus