# Okta-signin-widget - Registration ParseSchema - Options

**URL:** <https://devforum.okta.com/t/okta-signin-widget-registration-parseschema-options/5309>\
**Category:** Questions\
**Created:** [June 6, 2019, 4:13am UTC](https://devforum.okta.com/t/okta-signin-widget-registration-parseschema-options/5309 "2019-06-06T04:13:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcourts](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@dcourts](https://devforum.okta.com/u/dcourts)\
**Post date:** [June 6, 2019, 4:13am UTC](https://devforum.okta.com/t/okta-signin-widget-registration-parseschema-options/5309/1 "2019-06-06T04:13:34Z")

</div>

The okta signin widget seems to have the following capabilities to add additional fields to the registration page: [GitHub - okta/okta-signin-widget: HTML/CSS/JS widget that provides out-of-the-box authentication UX for your organization's apps](https://github.com/okta/okta-signin-widget#registration).

However, there is very limited documentation on what is available outside of a string type. We would like to create a checkbox type. I tried this:

> parseSchema: function (schema, onSuccess, onFailure) {  
> // This example will add an additional field to the registration form  
> schema.profileSchema.properties.marketing = {  
> ‘type’: ‘boolean’,  
> ‘description’: ‘Street Address’,  
> ‘default’: false,  
> // ‘maxLength’: 255  
> };  
> schema.profileSchema.fieldOrder.push(‘address’);  
> onSuccess(schema);  
> }

Which created a drop down with undefined in the main box. The default value and description fields do not seem to work correctly. Is it possible to force a new field to be required? There isn’t enough information available in the documentation to discern this.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 17, 2024, 11:39pm UTC](https://devforum.okta.com/t/okta-signin-widget-registration-parseschema-options/5309/2 "2024-01-17T23:39:26Z")

</div>

Closed on January 17, 2024, 11:39pm UTC


