# Hidden field in additionalSignUpFields creates error

**URL:** <https://community.auth0.com/t/hidden-field-in-additionalsignupfields-creates-error/19207>\
**Category:** Get Help\
**Tags:** lock\
**Created:** [December 18, 2018, 8:55pm UTC](https://community.auth0.com/t/hidden-field-in-additionalsignupfields-creates-error/19207 "2018-12-18T20:55:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![heike](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/heike/32/10402_2.png) [@heike](https://community.auth0.com/u/heike)\
**Post date:** [December 18, 2018, 8:55pm UTC](https://community.auth0.com/t/hidden-field-in-additionalsignupfields-creates-error/19207/1 "2018-12-18T20:55:08Z")

</div>

I am using two additional signup fields with lock without problems. Now I like to add one (or more) hidden fields, but as soon as I add the example hidden field (as shown in [Lock Configuration Options - Auth0 Docs](https://auth0.com/docs/libraries/lock/v11/configuration#additionalsignupfields-array-) )

```
    {
      type: "hidden",
      name: "signup_code",
      value: "abc123"
    }

```

I get the following error message:

`Types of property 'additionalSignUpFields' are incompatible.`

The following works, but is not hidden as I need it:

```
    {
      name: "signup_code",
      placeholder: "signup",
      value: "abc123"
    }

```

Do hidden fields work at all in lock v11?

---

<div class="post-metadata">

**Author:** ![nicolas\_sabena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicolas_sabena/32/6064_2.png) [@nicolas\_sabena](https://community.auth0.com/u/nicolas_sabena)\
**Post date:** [December 21, 2018, 8:09pm UTC](https://community.auth0.com/t/hidden-field-in-additionalsignupfields-creates-error/19207/2 "2018-12-21T20:09:56Z")

</div>

Can you share the exact initialization code for the property?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 28, 2019, 2:54pm UTC](https://community.auth0.com/t/hidden-field-in-additionalsignupfields-creates-error/19207/3 "2019-08-28T14:54:46Z")

</div>


