ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to use Cookie Plus with a form?

January 22, 2011 4:01pm

Subscribe [1]
  • #1 / Jan 22, 2011 4:01pm

    Sjoerd

    233 posts

    Any help with Cookie Plus would be very appreciated!

    I don’t know how to set the value of the cookie. I want the value of cnt_FirstName to set in the cookie and retrieve it.

    {exp:cookie_plus:set name="mycookie" value="How to set the value of the cnt_FirstName field?" seconds = "31556926"}
    <td>First name</td>
          <td><input name="cnt_FirstName" type="text" id="cnt_FirstName" value="{exp:cookie_plus:get name="mycookie"}"/></td>
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases