# Unable to save attribute from self registration widget

**URL:** <https://devforum.okta.com/t/unable-to-save-attribute-from-self-registration-widget/13290>\
**Category:** Questions\
**Created:** [March 11, 2021, 3:02am UTC](https://devforum.okta.com/t/unable-to-save-attribute-from-self-registration-widget/13290 "2021-03-11T03:02:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![taylorgt](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@taylorgt](https://devforum.okta.com/u/taylorgt)\
**Post date:** [March 11, 2021, 3:02am UTC](https://devforum.okta.com/t/unable-to-save-attribute-from-self-registration-widget/13290/1 "2021-03-11T03:02:02Z")

</div>

Hello, I am using the okta sign in widget with self registration and am unable to save any attributes other than the default (email, first name, last name, password). For the sake of my example, I am trying to save the city attribute. I have enabled it on the self registration widget, it shows up as a fillable field, and, when I click submit, I see in the browser network tab that the city data was indeed sent to the okta server along with the other fields.

However, in the Okta console when I inspect the profile of the newly created user, city is always empty. I have tried to set it via various means with the preSubmit functionality to no success, though I know preSubmit is excuting because I can modify the values (of email, first, last) and those save, just nothing else. I don’t know where to look or what to try next so any help would be greatly appreciated.

Thanks!  
Ryan

---

<div class="post-metadata">

**Author:** ![taylorgt](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@taylorgt](https://devforum.okta.com/u/taylorgt)\
**Post date:** [March 12, 2021, 1:37am UTC](https://devforum.okta.com/t/unable-to-save-attribute-from-self-registration-widget/13290/2 "2021-03-12T01:37:41Z")

</div>

Update on this. Still no luck with the widget, as a test I implemented registration manually, going through an API token to call user creation, and the city field was set without issue so it seems to be something with the widget itself or my configuration of the widget. Help still needed!

---

<div class="post-metadata">

**Author:** ![warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@warren](https://devforum.okta.com/u/warren)\
**Post date:** [March 12, 2021, 1:58am UTC](https://devforum.okta.com/t/unable-to-save-attribute-from-self-registration-widget/13290/3 "2021-03-12T01:58:08Z")

</div>

Did you make sure the attribute you added is configured for read-write permission?

> **Note** : If you want to add new profile attributes, click **Configure the Okta user profile** to add them to the Okta user profile. They are then available in the list on this page. Be sure to set the **User permission** drop-down box to **Read - Write** if you want your users to be able to modify the new attributes after registration.

> **[Set up self-service registration | Okta Developer](https://developer.okta.com/docs/guides/archive-set-up-self-service-registration/main/#enable-and-configure-a-self-service-registration-policy)**
>
> Secure, scalable, and highly available authentication and user management for any app.

---

<div class="post-metadata">

**Author:** ![taylorgt](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@taylorgt](https://devforum.okta.com/u/taylorgt)\
**Post date:** [March 12, 2021, 2:26am UTC](https://devforum.okta.com/t/unable-to-save-attribute-from-self-registration-widget/13290/4 "2021-03-12T02:26:42Z")

</div>

Warren, you are a genius, thank you! If there is a DM concept on this forum send me your venmo or equivalent, I want to buy you a case of beer.

I read that doc and thought it only applied _after_ registration, not during. Thanks again! (and I’m serious about the beer)

---

<div class="post-metadata">

**Author:** ![warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@warren](https://devforum.okta.com/u/warren)\
**Post date:** [March 12, 2021, 4:36pm UTC](https://devforum.okta.com/t/unable-to-save-attribute-from-self-registration-widget/13290/5 "2021-03-12T16:36:42Z")

</div>

No worries, just glad to help 🍻

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [March 13, 2021, 4:36pm UTC](https://devforum.okta.com/t/unable-to-save-attribute-from-self-registration-widget/13290/6 "2021-03-13T16:36:55Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
