# additionalSignUpFields checkbox appearing as input type=text

**URL:** <https://community.auth0.com/t/additionalsignupfields-checkbox-appearing-as-input-type-text/8486>\
**Category:** Get Help\
**Tags:** lock\
**Created:** [October 14, 2017, 4:34am UTC](https://community.auth0.com/t/additionalsignupfields-checkbox-appearing-as-input-type-text/8486 "2017-10-14T04:34:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![theotherdy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/theotherdy/32/5247_2.png) [@theotherdy](https://community.auth0.com/u/theotherdy)\
**Post date:** [October 14, 2017, 4:34am UTC](https://community.auth0.com/t/additionalsignupfields-checkbox-appearing-as-input-type-text/8486/1 "2017-10-14T04:34:21Z")

</div>

Have a feeling I’m missing something simple here but when I ask for a checkbox as an additionalSignUpField, I get an input type=text with the word true in it. My (Angular 4, typescript) code is here:

```
lock = new Auth0Lock('abc123', 'me.eu.auth0.com',{
        auth: {
            redirectUrl: location.origin + '/login',
            responseType: 'token',
        },
        additionalSignUpFields: {
            type: "checkbox",
            name: "newsletter",
            prefill: "true",
            placeholder: "Keep me informed (we will not abuse this and you can unsubscribe at any time)"
        }]
    });

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![theotherdy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/theotherdy/32/5247_2.png) [@theotherdy](https://community.auth0.com/u/theotherdy)\
**Post date:** [October 14, 2017, 4:31pm UTC](https://community.auth0.com/t/additionalsignupfields-checkbox-appearing-as-input-type-text/8486/2 "2017-10-14T16:31:12Z")

</div>

Sorted by upgrading to Lock 10.21.1

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/additionalsignupfields-checkbox-appearing-as-input-type-text/8486/3 "2018-03-02T05:56:59Z")

</div>


