# CMS Select - Adding an ID to the options

**URL:** <https://forum.finsweet.com/t/cms-select-adding-an-id-to-the-options/3506>\
**Category:** Attributes\
**Tags:** cmsselect\
**Created:** [September 26, 2024, 4:13pm UTC](https://forum.finsweet.com/t/cms-select-adding-an-id-to-the-options/3506 "2024-09-26T16:13:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kieran](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/kieran/32/1439_2.png) [@kieran](https://forum.finsweet.com/u/kieran)\
**Post date:** [September 26, 2024, 4:13pm UTC](https://forum.finsweet.com/t/cms-select-adding-an-id-to-the-options/3506/1 "2024-09-26T16:13:51Z")

</div>

Hey guys.

Does anyone know if there’s a way to add an ID to the CMS Select options?

I’ve tried adding a second attribute to the text block, data-item-id={{ Record ID }} but it doesn’t pull into the select options.

I’ve tried adding fs-cmsselect-element=“text-value” to a custom element and then adding 2 text elements inside of that but I can’t get that to work either.

I need a way to identify the select value by a unique ID other than the name as the client could change the name and break the hide/show logic of a secondary select field.

Any suggestions? Thanks in advance.

Kieran

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [September 27, 2024, 9:18am UTC](https://forum.finsweet.com/t/cms-select-adding-an-id-to-the-options/3506/2 "2024-09-27T09:18:23Z")

</div>

Hey @kieran! Could you share a link? I’ll see if I can do something 🙂
