# Webflow Memberships Library - TypeError: Cannot read properties of undefined (reading 'checked')

**URL:** <https://sygnal-attr.discourse.group/t/webflow-memberships-library-typeerror-cannot-read-properties-of-undefined-reading-checked/139>\
**Category:** Support\
**Created:** [November 15, 2023, 7:50pm UTC](https://sygnal-attr.discourse.group/t/webflow-memberships-library-typeerror-cannot-read-properties-of-undefined-reading-checked/139 "2023-11-15T19:50:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ianr](https://yyz2.discourse-cdn.com/free1/user_avatar/sygnal-attr.discourse.group/ianr/32/80_2.png) [@ianr](https://sygnal-attr.discourse.group/u/ianr)\
**Post date:** [November 15, 2023, 7:50pm UTC](https://sygnal-attr.discourse.group/t/webflow-memberships-library-typeerror-cannot-read-properties-of-undefined-reading-checked/139/1 "2023-11-15T19:50:23Z")

</div>

Hi there 👋 . We are using your awesome Webflow Memberships library for retrieving logged in user details, and it’s working great! However, on one specific site we are getting the following error when logged in logged in users visit a page with your script running. This error only on our custom domain, not our .webflow.io domain:

webflow-membership.js:480 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘checked’) at webflow-membership.js:480:80

On firefox, we are also seeing the below errors.

 ![Screen Shot 2023-11-15 at 11.53.22 AM](https://global.discourse-cdn.com/free1/uploads/sygnal_attr/original/1X/3f8bfbc041de741731b4ff82d2a7541f350d982c.png)

Any idea what might be causing this? How can we fix this? Happy to provide more details about the set up of the site and our app.

Cheers,  
Ian

---

<div class="post-metadata">

**Author:** ![memetican](https://yyz2.discourse-cdn.com/free1/user_avatar/sygnal-attr.discourse.group/memetican/32/9_2.png) [@memetican](https://sygnal-attr.discourse.group/u/memetican)\
**Post date:** [November 15, 2023, 8:54pm UTC](https://sygnal-attr.discourse.group/t/webflow-memberships-library-typeerror-cannot-read-properties-of-undefined-reading-checked/139/2 "2023-11-15T20:54:44Z")

</div>

Hi Ian, check this-

---

<div class="post-metadata">

**Author:** ![ianr](https://yyz2.discourse-cdn.com/free1/user_avatar/sygnal-attr.discourse.group/ianr/32/80_2.png) [@ianr](https://sygnal-attr.discourse.group/u/ianr)\
**Post date:** [November 15, 2023, 10:10pm UTC](https://sygnal-attr.discourse.group/t/webflow-memberships-library-typeerror-cannot-read-properties-of-undefined-reading-checked/139/3 "2023-11-15T22:10:49Z")

</div>

Thanks Michael. I had a feeling it had something to do with this checkbox field. I added this to my site’s user account page and published, but am still seeing this issue:

 ![Screen Shot 2023-11-15 at 2.10.01 PM](https://global.discourse-cdn.com/free1/uploads/sygnal_attr/original/1X/60e3458447896c11f26190bd75dd0abbc114c334.png)

I originally excluded this marketing consent field from my registration form when I set up memberships, so not sure if this causing lingering issues…Any idea what else I could try to address this?

Thanks again,  
Ian

---

<div class="post-metadata">

**Author:** ![memetican](https://yyz2.discourse-cdn.com/free1/user_avatar/sygnal-attr.discourse.group/memetican/32/9_2.png) [@memetican](https://sygnal-attr.discourse.group/u/memetican)\
**Post date:** [November 16, 2023, 4:15am UTC](https://sygnal-attr.discourse.group/t/webflow-memberships-library-typeerror-cannot-read-properties-of-undefined-reading-checked/139/4 "2023-11-16T04:15:16Z")

</div>

What’s your website, and a login I can use?

---

<div class="post-metadata">

**Author:** ![ianr](https://yyz2.discourse-cdn.com/free1/user_avatar/sygnal-attr.discourse.group/ianr/32/80_2.png) [@ianr](https://sygnal-attr.discourse.group/u/ianr)\
**Post date:** [November 18, 2023, 1:08am UTC](https://sygnal-attr.discourse.group/t/webflow-memberships-library-typeerror-cannot-read-properties-of-undefined-reading-checked/139/7 "2023-11-18T01:08:36Z")

</div>

Please ignore. I figured it out. The id of my checkbox was not ‘wf-user-account-accept-communications’, as it appears in your code.

Thanks for your help. And big thanks for this library - it’s a true gift to the community 😀
