# IF Statement on dropdown field

**URL:** <https://community.hubspot.com/t/if-statement-on-dropdown-field/116272>\
**Category:** Sales Hub Tools\
**Tags:** templates\
**Created:** [September 12, 2024, 7:19pm UTC](https://community.hubspot.com/t/if-statement-on-dropdown-field/116272 "2024-09-12T19:19:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrielM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gabrielm/32/201625_2.png) [@GabrielM](https://community.hubspot.com/u/GabrielM)\
**Post date:** [September 12, 2024, 7:19pm UTC](https://community.hubspot.com/t/if-statement-on-dropdown-field/116272/1 "2024-09-12T19:19:25Z")

</div>

We have an if statement in our quotes that has always worked properly, and it suddenly stopped working.

I have narrowed it down to the fact that we compare the field value with the internal value we have setup in the dropdown field:

 ![Screenshot 2024-09-12 at 12.11.28 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/0/30e7b363136fed838609bf47135cee9ee9a507e5.png)

If I use the label of the dropdown option instead, the IF statement works:

 ![Screenshot 2024-09-12 at 12.12.08 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/a/a2ef1b7b486c2b8cb388788d8b131dd29673a508.png)

This has been working fine for months, did something change in HubSpot or is that a setting? Is there a better way of doing that same IF statement?

---

<div class="post-metadata">

**Author:** ![DianaGomez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dianagomez/32/48035_2.png) [@DianaGomez](https://community.hubspot.com/u/DianaGomez)\
**Post date:** [September 13, 2024, 4:28pm UTC](https://community.hubspot.com/t/if-statement-on-dropdown-field/116272/2 "2024-09-13T16:28:59Z")

</div>

Hi @GabrielM,

Thanks for reaching out to the Community!

I’ve been checking, but I don’t see any changes in HubSpot. Let’s ask some of our experts to see if they’ve noticed the same behavior or if they have any suggestions.

Hi @Jnix284, @danmoyle, @Lucila-Andimol - Do you have any advice for @GabrielM ?

Thanks and happy Friday 🙂

Best,

Diana

---

<div class="post-metadata">

**Author:** ![danmoyle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danmoyle/32/91166_2.png) [@danmoyle](https://community.hubspot.com/u/danmoyle)\
**Post date:** [September 13, 2024, 5:27pm UTC](https://community.hubspot.com/t/if-statement-on-dropdown-field/116272/3 "2024-09-13T17:27:12Z")

</div>

Thanks for the tag @DianaGomez - but I haven’t seen this error or change either. @GabrielM I can tell you from experience that pre-INBOUND we sometimes see some weird behavior as HubSpot rolls out feature changes, but they’re usually resolved pretty quickly. If it were me, I might call into support to see if they can help track down what’s going on.

---

<div class="post-metadata">

**Author:** ![GabrielM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gabrielm/32/201625_2.png) [@GabrielM](https://community.hubspot.com/u/GabrielM)\
**Post date:** [September 13, 2024, 5:31pm UTC](https://community.hubspot.com/t/if-statement-on-dropdown-field/116272/4 "2024-09-13T17:31:46Z")

</div>

Thanks, I opened a support ticket, but have not heard back yet…

---

<div class="post-metadata">

**Author:** ![danmoyle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danmoyle/32/91166_2.png) [@danmoyle](https://community.hubspot.com/u/danmoyle)\
**Post date:** [September 13, 2024, 5:33pm UTC](https://community.hubspot.com/t/if-statement-on-dropdown-field/116272/5 "2024-09-13T17:33:06Z")

</div>

@GabrielM I’d call in instead of starting a Ticket.
