Answers.Body: <p>Did you set up a route and assign a template to it?</p>
  
  <pre><code>contact/success/{{ number }}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-16T13:36:44.623Z
Answers.Text: Yes I tried contact/success/{{ submission.id }} but the URI was invalid. I then tried contact/success/{ submission.id } but that didn't work
Answers.UserDisplayName: Dan Lee
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-16T13:32:23.293Z
Answers.LastActivityDate: 2019-04-16T13:32:23.293Z
Answers.UserDisplayName: Jim Wyse
Body: <p>I am getting the following error when redirecting the form success message to a page. I am trying to pass in the submission ID... </p>
  
  <pre><code>HTTP 404 – Not Found – yii\web\NotFoundHttpException
  Template not found: contact/success/5015
  </code></pre>
  
  <p><strong>This is the Return URL</strong> </p>
  
  <pre><code>returnUrl: "{{ siteUrl }}contact/success/{{ submission.id }}",
  </code></pre>
  
  <p>I have set up a 'single' entry for the success page - do I need to somehow tie this in with the submission ID? </p>
  
Tags: <craft3><plugin-freeform><freeform>
Title: Freeform Plugin: Success Page and Submission ID - Template not Found
ThreadText: # Freeform Plugin: Success Page and Submission ID - Template not Found
  
  (Asked by: username_0 on 2019-04-16)
  
  I am getting the following error when redirecting the form success message to a page. I am trying to pass in the submission ID...
  
  ```
  HTTP 404 – Not Found – yii\web\NotFoundHttpException
  Template not found: contact/success/5015
  
  ```
  
  **This is the Return URL**
  
  ```
  returnUrl: "{{ siteUrl }}contact/success/{{ submission.id }}",
  
  ```
  
  I have set up a 'single' entry for the success page - do I need to somehow tie this in with the submission ID?
  
  **Tags:** craft3, plugin-freeform, freeform
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-04-16. Score: 1
  
  Did you set up a route and assign a template to it?
  
  ```
  contact/success/{{ number }}
  
  ```
  
  > **Comments:**
  > **username_0**: Yes I tried contact/success/{{ submission.id }} but the URI was invalid. I then tried contact/success/{ submission.id } but that didn't work  
  
  ---
  
  