# Menu post selector field - v2 custom modules

**URL:** <https://community.hubspot.com/t/menu-post-selector-field-v2-custom-modules/11079>\
**Category:** CMS Development\
**Created:** [November 30, 2018, 12:10pm UTC](https://community.hubspot.com/t/menu-post-selector-field-v2-custom-modules/11079 "2018-11-30T12:10:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Craig](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/craig/32/60219_2.png) [@Craig](https://community.hubspot.com/u/Craig)\
**Post date:** [November 30, 2018, 12:10pm UTC](https://community.hubspot.com/t/menu-post-selector-field-v2-custom-modules/11079/1 "2018-11-30T12:10:53Z")

</div>

I’m coding a custom module with some wrapping HTML and a menu selector module - so a different menu can be selected on a per page basis if necessary (mainly for multilingual purposes).

However, the ‘Menu Selector’ field type seems to only return the menu id - I’m not sure there would ever be a valid use case for this unless it can be used to generate the selected menu - is there a way to do this?

---

<div class="post-metadata">

**Author:** ![Craig](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/craig/32/60219_2.png) [@Craig](https://community.hubspot.com/u/Craig)\
**Post date:** [November 30, 2018, 12:19pm UTC](https://community.hubspot.com/t/menu-post-selector-field-v2-custom-modules/11079/2 "2018-11-30T12:19:07Z")

</div>

Please ignore. I keep forgetting you can use custom HubL within v2 custom modules.

```auto
{% set topNavMenu = module.top_menu %} 
{% menu "topNav" id="{{ topNavMenu }}" %}

```

![16x16_smiley-lol.png.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/9/9a438c7fe86ea6c959679ec1f9b892b05bcc9dc8.png)
