<p>The parameter is called <code>siteId</code></p>

<pre class="lang-TWIG prettyprint-override"><code>&lt;input type="hidden" name="siteId" value="{{ currentSite.id }}"&gt;
</code></pre>

CC BY-SA 4.0
2019-03-19T16:30:44.643Z
2019-03-19T16:30:44.643Z
Robin Schambach
<p>I have a multi site setup and a front facing entry form, which saves entries always to the same site (and not the current one which is weird). </p>

<p>Is there a way to define to which site the current entry should be saved? Something in the lines of:</p>

<pre><code>{{ csrfInput() }}
&lt;input type="hidden" name="action" value="entries/save-entry"&gt;
&lt;input type="hidden" name="sectionId" value="1"&gt;
&lt;input type="hidden" name="site" value="{{ currentSite.id }}"
</code></pre>

<multi-site><entry-form>
How to save entry to the current site from the front end?
# How to save entry to the current site from the front end?

(Asked by: username_0 on 2019-03-19)

I have a multi site setup and a front facing entry form, which saves entries always to the same site (and not the current one which is weird). 
Is there a way to define to which site the current entry should be saved? Something in the lines of:
{{ csrfInput() }}

**Tags:** multi-site, entry-form


---

## 1 answers

### Answer by username_1 on 2019-03-19. Score: 4 | Accepted answer

The parameter is called siteId


---

