PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Cookiemonster and extracting query string values in a form

  1. amydpnw
    Member

    I figured out a way to get a URL query string value to work across multiple pages using the Cookiemonster plugin.

    Added the following hook in functions.php and I was able to carry ?slug=ga002 across multiple pages.

    add_filter("gform_field_value_slug", "populate_slug");
    function populate_slug() {
    return $_COOKIE["slug"];
    }

    Posted 12 years ago on Saturday February 25, 2012 | Permalink