Hi guys,
I have set up a multi-step form on a website and will capture a cookie if there is any. A hidden field has been added to store cookies as shown below:

And to set the cookies, I have created a snippet as shown below:

And then, the cookies will be sent to the hidden field by using the code snippet below:

Everything is working fine at first but when I try on the form in draft state, the cookies are not applied to the hidden field.
I am looking for a way to make the field get the latest cookie even if the form is in a draft state.
Why are you storing a cookie name as the value of a referring URL instead of just using the built in shortcode to save the referrer URL? https://formidableforms.com/knowledgebase/using-dynamic-default-values-in-fields/#kb-get-the-current-or-referring-url
Please login or Register to submit your answer