I want to save values from some of the fields in a cookie so that when next time user who uses the same computer opens the same form he/she doesn't have to fill those fields again. For example his name and address would already be there, prefilled from the the information that was saved in a cookie during first submission. Any suggestions on best way to do this in webform?

Comments

taralmoza’s picture

Hello gd1008,
Can you tell me the behavior of the page ??
Like Simple page ?? Or MultiPage ???

Best Regards,
Taral

quicksketch’s picture

If the user is logged in, you can use %profile[profile_*] tokens as the default value for fields and prepopulate those fields. You might also use %get[*] to pull values from the URL. %cookie values will not work for anonymous users however, since it will not work with the Drupal caching system (or it would actually show a user's data to other users).

quicksketch’s picture

Status: Active » Closed (fixed)