Pre-Fill Forms From Last Use
By Will Bontrager2005-04-18
The JavaScript code of the HEAD Area
The JavaScript code of the HEAD Area
This JavaScript needs to be customized in three places:
1. Specify a name for the cookie. The name needs to be something no other cookie on your web site uses. Otherwise, the cookies could overwrite each other.
2. Specify how many days the cookie shall exist on the visitor's computer.
3. If your separate forms have different field names for the same information, you specify those here. This allows fields with different names to pre-fill the information.
The example page demonstrates the above.
Tutorial Pages:
» Pre-Fill Forms From Last Use
» Why?
» The Source Code
» The JavaScript code of the HEAD Area
» The Form's ACTION Tag
» The JavaScript Below the Form
» A Limitation
» Conclusion
Copyright 2004 Bontrager Connection, LLC
