<p>The Guest Entries plugin checks for a <code>parentId</code> value in POST and passes that on to <code>saveElement</code>, so that should be all you need to do: <a href="https://github.com/craftcms/guest-entries/blob/v2/src/controllers/SaveController.php#L216" rel="nofollow noreferrer">https://github.com/craftcms/guest-entries/blob/v2/src/controllers/SaveController.php#L216</a></p>

CC BY-SA 3.0
2018-05-01T05:04:41.323Z
2018-05-01T05:04:41.323Z
Brad Bell
<p>As the title suggests, is it possible to pass an entry ID in order to set a parent for the submitted entry?</p>

CC BY-SA 3.0
2018-04-30T09:16:25.593Z
Have you tried to include a `parentId` parameter?
Robin Schambach
<guest-entries><plugin-guestentries>
Guest Entries plugin - set parent entry if using section
# Guest Entries plugin - set parent entry if using section

(Asked by: username_0 on 2018-04-30)

As the title suggests, is it possible to pass an entry ID in order to set a parent for the submitted entry?

**Tags:** guest-entries, plugin-guestentries

> **Comments:**
> **username_1**: Have you tried to include a `parentId` parameter?  

---

## 1 answers

### Answer by username_2 on 2018-05-01. Score: 2 | Accepted answer

The Guest Entries plugin checks for a `parentId` value in POST and passes that on to `saveElement`, so that should be all you need to do: <https://github.com/craftcms/guest-entries/blob/v2/src/controllers/SaveController.php#L216>


---

