# struggling with a dropdown select property

**URL:** <https://community.hubspot.com/t/struggling-with-a-dropdown-select-property/109713>\
**Category:** CMS Development\
**Created:** [June 20, 2024, 12:19am UTC](https://community.hubspot.com/t/struggling-with-a-dropdown-select-property/109713 "2024-06-20T00:19:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Octav](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/octav/32/95715_2.png) [@Octav](https://community.hubspot.com/u/Octav)\
**Post date:** [June 20, 2024, 12:19am UTC](https://community.hubspot.com/t/struggling-with-a-dropdown-select-property/109713/1 "2024-06-20T00:19:33Z")

</div>

Hello,

I’m trying to customize a quote template and i need to check what values are selected in a dropdown select property but i can´t make it.

i have simple if sentence but i can’t reach the code inside the if.

{% if (BUYER\_COMPANY.responsabilidades\_fiscales).Prueba == true %}

Can some help me, please?

---

<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:** [June 20, 2024, 1:42pm UTC](https://community.hubspot.com/t/struggling-with-a-dropdown-select-property/109713/2 "2024-06-20T13:42:37Z")

</div>

@Octav - the proerty values for a dropdown select are stored as string values inside the property. If ‘Prueba’ is one of the possible selections of the Company property ‘responsabilidades\_fiscales’ then I think the correct HubL test would be:

{% if BUYER\_COMPANY.responsabilidades\_fiscales == ‘Prueba’ %}

You could also use the HubL operator string\_containing if the property can contain multiple selected dropdown values  
([Operators & Expression Tests - HubSpot docs](https://developers.hubspot.com/docs/cms/hubl/operators-and-expression-tests#string-containing))

I hope this is helpful.

Steve

---

<div class="post-metadata">

**Author:** ![Octav](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/octav/32/95715_2.png) [@Octav](https://community.hubspot.com/u/Octav)\
**Post date:** [June 21, 2024, 2:16pm UTC](https://community.hubspot.com/t/struggling-with-a-dropdown-select-property/109713/3 "2024-06-21T14:16:46Z")

</div>

@SteveHTM

I made it! Thanks to your explanation and the examples that you gave me.

Thank you, so much.
