Pre-Fill Forms From Last Use
By Will Bontrager2005-04-18
Pre-Fill Forms From Last Use
If the visitor provided a name and email address, for example, that name and email address can be pre-filled in all of your other forms. The pre-fill can be during the current site visit and for site visits as long as ten years in the future.
It's done with a cookie.
See http://willmaster.com/ for an example of how it works.
Use any subscription, recommend, or contact form on the willmaster.com domain -- the home page, in the WillMaster Possibilities section, or in the Master Series CGI section. After that, all subscription, recommend, and contact forms on the willmaster.com site will have the name and email fields pre-filled for you.
Your browser must, of course, accept cookies. If not, or if your preferences are set to accept only session cookies (willmaster.com cookies are set for 365 days), then the forms won't be pre-filled in for you.
JavaScript is used to set and retrieve the cookie.
Tutorial pages:
|
Copyright 2004 Bontrager Connection, LLC
|
|||||||||
You might also want to check these out:
|
Leave a Comment on "Pre-Fill Forms From Last Use"
You must be logged in to post a comment.
Link to This Tutorial Page!

