struggling with a dropdown select property

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?

@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)

I hope this is helpful.

Steve

@SteveHTM

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

Thank you, so much.