# Edit toStructure with a form on the front

**URL:** <https://forum.getkirby.com/t/edit-tostructure-with-a-form-on-the-front/18595>\
**Category:** Questions\
**Tags:** v3\
**Created:** [June 23, 2020, 9:36pm UTC](https://forum.getkirby.com/t/edit-tostructure-with-a-form-on-the-front/18595 "2020-06-23T21:36:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 23, 2020, 10:32pm UTC](https://forum.getkirby.com/t/edit-tostructure-with-a-form-on-the-front/18595/2 "2020-06-23T22:32:31Z")

</div>

> [@mickaeldurand](#):
>
> Is it possible ?

Of course, see example here:

> [@Prevent a user to create two identical items in a structure field](https://forum.getkirby.com/t/prevent-a-user-to-create-two-identical-items-in-a-structure-field/16511/19):
>
> If I change 'page.update:before' =\> function ($page, $values, $strings) { to 'page.update:after' =\> function ($page, $values, $strings) { I get this error from panel: Exception: ArgumentCountError Too few arguments to function Kirby\Cms\App::{closure}(), 2 passed and exactly 3 expected. And If I change to: 'page.update:after' =\> function ($page) { Nothing happen on save…

---

_[View the full topic](https://forum.getkirby.com/t/edit-tostructure-with-a-form-on-the-front/18595)._
