# Form not posting - Help!

**URL:** <https://discourse.cakephp.org/t/form-not-posting-help/4724>\
**Category:** Need Help\
**Created:** [August 15, 2018, 2:06pm UTC](https://discourse.cakephp.org/t/form-not-posting-help/4724 "2018-08-15T14:06:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhall](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jhall](https://discourse.cakephp.org/u/jhall)\
**Post date:** [August 15, 2018, 2:06pm UTC](https://discourse.cakephp.org/t/form-not-posting-help/4724/1 "2018-08-15T14:06:46Z")

</div>

The code below will not post with \<?= $this-\>Form-\>create($users) ?\> \<— this however it does cause a post with this \<?= $this-\>Form-\>create() ?\> Notice the create is without a parameter, how do I pass a parameter in create and still have it create a form with a post?

\<? $this-\>extend('/Common/view'); ?\>
\<?= $this-\>Form-\>create($users) ?\> \<?= \_\_('Edit User') ?\> \<?= $this-\>Form-\>control('username') ?\> \<?= $this-\>Form-\>control('first\_name') ?\> \<?= $this-\>Form-\>control('last\_name') ?\> \<?= $this-\>Form-\>control('email') ?\> \<?= $this-\>Form-\>label('Role') ?\> \<?= $this-\>Form-\>select('role', ['Admin', 'Employee']); ?\> \<?= $this-\>Form-\>button(\_\_('Submit')); ?\> \<?= $this-\>Form-\>end() ?\>

---

<div class="post-metadata">

**Author:** ![jhall](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jhall](https://discourse.cakephp.org/u/jhall)\
**Post date:** [August 15, 2018, 2:14pm UTC](https://discourse.cakephp.org/t/form-not-posting-help/4724/2 "2018-08-15T14:14:40Z")

</div>

i fixed this by doing this \<?= $this-\>Form-\>create($users, [‘type’ =\> ‘post’]) ?\>
