# Pre-populate form field with logged in member's custom field data

**URL:** <https://forum.wixstudio.com/t/pre-populate-form-field-with-logged-in-members-custom-field-data/59065>\
**Category:** Ask the community\
**Tags:** wix-members-area, question, code\
**Created:** [May 8, 2024, 3:23pm UTC](https://forum.wixstudio.com/t/pre-populate-form-field-with-logged-in-members-custom-field-data/59065 "2024-05-08T15:23:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![CApoth](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/capoth/32/81856_2.png) [@CApoth](https://forum.wixstudio.com/u/CApoth)\
**Post date:** [May 9, 2024, 5:36pm UTC](https://forum.wixstudio.com/t/pre-populate-form-field-with-logged-in-members-custom-field-data/59065/3 "2024-05-09T17:36:54Z")

</div>

> [@Identifying User](https://forum.wixstudio.com/t/identifying-user/58319/2):
>
> ```javascript
> let member = await currentMember.getMember(options);
> 
> if (Object.keys(member.contactDetails.customFields).length > 0) {
> 
> ```

That did the trick. Thank you so much!

---

_[View the full topic](https://forum.wixstudio.com/t/pre-populate-form-field-with-logged-in-members-custom-field-data/59065)._
