# DnD Module (dnd\_module) - Reference Field Depth

**URL:** <https://community.hubspot.com/t/dnd-module-dnd-module-reference-field-depth/30622>\
**Category:** CMS Development\
**Created:** [January 22, 2021, 9:26am UTC](https://community.hubspot.com/t/dnd-module-dnd-module-reference-field-depth/30622 "2021-01-22T09:26:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hubmate](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hubmate/32/28756_2.png) [@Hubmate](https://community.hubspot.com/u/Hubmate)\
**Post date:** [January 22, 2021, 9:26am UTC](https://community.hubspot.com/t/dnd-module-dnd-module-reference-field-depth/30622/1 "2021-01-22T09:26:09Z")

</div>

Hello Hubspot comrades.  
I am having an issue with my dnd\_module markup and in trying to reference a variable of a custom module. How do you reference custom module variables which are three levels ‘deep’?

Say for example I have the following structure in my custom module:

‘Styling (group) \> Background (group) \> Background Type (choice)’. How then would I reference that in dnd\_module markup?

Thanks as always,

Steve

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [January 22, 2021, 11:35pm UTC](https://community.hubspot.com/t/dnd-module-dnd-module-reference-field-depth/30622/2 "2021-01-22T23:35:09Z")

</div>

@Hubmate

`styling={"background": {"background_type": "your value"}}`
