Hi all,
I'm implementing the methods described here: http://www.gravityhelp.com/forums/topic/little-hint-from-me-save-user-input-in-cookie-and-prepopulate-form
Anyway, I can't get my date selector to pre-populate from the cookie. Perhaps because it's a date picker (drop-down day, month, year) and the following that I'm using might be wrong:
add_filter("gform_field_value_date", "populate_date");
function populate_date() {
return $_COOKIE["gf_date"];
}
Also, I'm using the following for the email. It works, but it only fills in the initial email entry, it leaves the confirm field empty:
add_filter("gform_field_value_email", "populate_email");
function populate_email() {
return $_COOKIE["gf_email"];
}
Help is greatly appreciated,
James