# userCustomFields attr is undefined when extending the poster-name widget

**URL:** <https://meta.discourse.org/t/usercustomfields-attr-is-undefined-when-extending-the-poster-name-widget/43398>\
**Category:** Development\
**Created:** [28 באפריל,‏ 2016,‏ 9:13pm UTC](https://meta.discourse.org/t/usercustomfields-attr-is-undefined-when-extending-the-poster-name-widget/43398 "2016-04-28T21:13:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![stevenpslade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stevenpslade/32/53550_2.png) [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Post date:** [28 באפריל,‏ 2016,‏ 9:25pm UTC](https://meta.discourse.org/t/usercustomfields-attr-is-undefined-when-extending-the-poster-name-widget/43398/3 "2016-04-28T21:25:32Z")

</div>

I was going off the Discourse Staff Notes plugin which uses the poster-name widget in a similar way I want to, and it doesn’t look like they do that.

> <https://github.com/discourse/discourse-user-notes/blob/550d5c73f4a4848352faeca6a07c0830ab7035b6/plugin.rb>

---

_[View the full topic](https://meta.discourse.org/t/usercustomfields-attr-is-undefined-when-extending-the-poster-name-widget/43398)._
