# How can I draft pages from the frontend of the site

**URL:** <https://forum.getkirby.com/t/how-can-i-draft-pages-from-the-frontend-of-the-site/19286>\
**Category:** Questions\
**Tags:** v3\
**Created:** [September 7, 2020, 10:29am UTC](https://forum.getkirby.com/t/how-can-i-draft-pages-from-the-frontend-of-the-site/19286 "2020-09-07T10:29:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [September 20, 2020, 4:30pm UTC](https://forum.getkirby.com/t/how-can-i-draft-pages-from-the-frontend-of-the-site/19286/4 "2020-09-20T16:30:28Z")

</div>

You can set a parent using the page helper:

```auto
$registration = page('somepage')->createChild([
'slug' => $data['name'] . microtime(),
'template' => 'product-designer',
'content' => $data
]);

```

Uploading files: [https://getkirby.com/docs/cookbook/forms/file-uploads](https://getkirby.com/docs/cookbook/forms/file-uploads)

---

_[View the full topic](https://forum.getkirby.com/t/how-can-i-draft-pages-from-the-frontend-of-the-site/19286)._
