# Data binding to content item custom fields

**URL:** <https://forum.builder.io/t/data-binding-to-content-item-custom-fields/2653>\
**Category:** Technical Questions\
**Tags:** visual-editor\
**Created:** [September 22, 2022, 4:09pm UTC](https://forum.builder.io/t/data-binding-to-content-item-custom-fields/2653 "2022-09-22T16:09:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TimG](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/timg/32/714_2.png) [@TimG](https://forum.builder.io/u/TimG)\
**Post date:** [September 22, 2022, 8:14pm UTC](https://forum.builder.io/t/data-binding-to-content-item-custom-fields/2653/2 "2022-09-22T20:14:38Z")

</div>

Hey @ersin !

This is indeed possible, though does require a bit of code in the binding / wherever you intend to use this data.

Basically, within custom JS I would recommend either setting the value to state by putting:

```auto
state.whatever = context.builderContent.data.whatever

```

Or, in your data binding you can access directly with

```auto
context.builderContent.data.whatever

```

I think there is a world where we eventually add the ability for a custom field to be added to state as a flag on the field itself, but for now this is the best practice route.

If you think that is a use case you will use a lot, I recommend submitting a feature request to our ideas board at [ideas.builder.io](http://ideas.builder.io) !

Hope this helps !

---

_[View the full topic](https://forum.builder.io/t/data-binding-to-content-item-custom-fields/2653)._
