Support » Fixing WordPress » [Plugin: Cookie Monster] how do I use cookie monster on a form?
5 years, 5 months ago
how can I use cookie monster on a form?
I’m trying to retain a value from a page and thought this is a good solution
but shortcodes don’t work in there. help please?
<input type="hidden" value="[cookie monster code]">
how do i do this?
5 years, 4 months ago
Can you give me some more details, is this a form in the Post content?
5 years, 2 months ago
I used to be able to pass the cookie value into a form field by placing this inside the field value:
<?php echo $_COOKIE[get_option('cookie_param1')]; ?>
But now I can’t get that to work. Any ideas?
actually, I just figured out a new way:
<?php echo $_COOKIE['ref']; ?>
Replace ref with whatever your cookie parameter is.