Answers.Body: <p>This was a separate issue causing this, the above works fine.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-02T15:36:59.280Z
Answers.LastActivityDate: 2020-09-02T15:36:59.280Z
Answers.UserDisplayName: Jamie
Body: <p>I'm trying to create a form that adds a cookie so that someone who has submitted the form can see content on the thank you page to protect the download.</p>
  <p>Currently I've got this:</p>
  <pre><code>{{ craft.freeform.form('handle').render() }}
  
  {% set formcook = craft.freeform.form('handle') %}
                      
  {% if formcook and formcook.submittedSuccessfully %}
     {# Cookie Will go here #}
  {% endif %}
  </code></pre>
  <p>This doesn't seem to be working, although I've seen something very similar working on a different project.</p>
  <p>Freeforms has very little in their documentation regarding this unless I'm missing something very obvious.</p>
  <p>Anyone spot where I've gone wrong?</p>
  
Tags: <templating><craft3><plugin-freeform><solspace>
Title: Freeforms Check Submission is true
ThreadText: # Freeforms Check Submission is true
  
  (Asked by: username_0 on 2020-08-24)
  
  I'm trying to create a form that adds a cookie so that someone who has submitted the form can see content on the thank you page to protect the download.
  
  Currently I've got this:
  
  ```
  {{ craft.freeform.form('handle').render() }}
  
  {% set formcook = craft.freeform.form('handle') %}
                      
  {% if formcook and formcook.submittedSuccessfully %}
     {# Cookie Will go here #}
  {% endif %}
  
  ```
  
  This doesn't seem to be working, although I've seen something very similar working on a different project.
  
  Freeforms has very little in their documentation regarding this unless I'm missing something very obvious.
  
  Anyone spot where I've gone wrong?
  
  **Tags:** templating, craft3, plugin-freeform, solspace
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-09-02. Score: 1 | Accepted answer
  
  This was a separate issue causing this, the above works fine.
  
  
  ---
  
  