# Choice Field Multiple Choice Not Working

**URL:** <https://community.hubspot.com/t/choice-field-multiple-choice-not-working/103749>\
**Category:** CMS Development\
**Created:** [March 29, 2024, 2:36pm UTC](https://community.hubspot.com/t/choice-field-multiple-choice-not-working/103749 "2024-03-29T14:36:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikerich94](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@Mikerich94](https://community.hubspot.com/u/Mikerich94)\
**Post date:** [March 29, 2024, 2:36pm UTC](https://community.hubspot.com/t/choice-field-multiple-choice-not-working/103749/1 "2024-03-29T14:36:54Z")

</div>

I recently discovered you can allow users to select multiple options within a choice field dropdown. However, when I try to use the snippet/value with multiple choices enabled the multiple choices don’t work. Is there a syntax change I need to make to allow users to make the multiple selections beyond just having the field Hubl code?

The choice field works when it’s single select but once I toggle “allow multiple selections” it breaks and doesn’t load any of the selected options

ex:

{% if module.style.transition\_pieces == “optionA” %}

\<style\>

CSS here

\</style\>

{% endif %}

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [March 29, 2024, 8:35pm UTC](https://community.hubspot.com/t/choice-field-multiple-choice-not-working/103749/2 "2024-03-29T20:35:25Z")

</div>

@Mikerich94 - I believe the multiple choice aspect of this property (also radio buttons) might be leading you astray. The value of such a property can contain (due to the definition) any number of a set of allowed value strings.

So perhaps you test might be more successful as:

{% if “optionA” is within module.style.transition\_pieces %}

Hope I got this one right!

Steve

---

<div class="post-metadata">

**Author:** ![Mikerich94](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@Mikerich94](https://community.hubspot.com/u/Mikerich94)\
**Post date:** [March 29, 2024, 9:08pm UTC](https://community.hubspot.com/t/choice-field-multiple-choice-not-working/103749/3 "2024-03-29T21:08:19Z")

</div>

This is what fixed it thank you@
