# Help with HubL

**URL:** <https://community.hubspot.com/t/help-with-hubl/79332>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [April 13, 2023, 10:49pm UTC](https://community.hubspot.com/t/help-with-hubl/79332 "2023-04-13T22:49:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmcgowan702](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mmcgowan702](https://community.hubspot.com/u/mmcgowan702)\
**Post date:** [April 13, 2023, 10:49pm UTC](https://community.hubspot.com/t/help-with-hubl/79332/1 "2023-04-13T22:49:41Z")

</div>

Hello all,

I am new here and while training on HubSpot, I am also trying to learn HubL for our email program. I am trying to do a “simple test” to see if a property is NULL or not. Based on what I have learned and read the code I am using is;

{% if contact.contact\_opeid.value is none %}

OPEID is Null

{% else %}

OPEID is Not Null

{% endif %}

I have been testing different variations of this with no success. I test it on accounts where I know the property is NULL and yet the test keeps showing the default ‘OPEID is Not Null’.

The property is a single line text restricted to numeric values, no special characters, and has visibility in forms, pop-ups and bots, and also shows in search results

I’m sure it is something simple but if any one could tell what I am doing wrong, I would appreciate it.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [April 14, 2023, 8:51pm UTC](https://community.hubspot.com/t/help-with-hubl/79332/2 "2023-04-14T20:51:25Z")

</div>

Hey, @mmcgowan702 👋 Welcome to the community! Let’s invite some of our community members to the conversation, @BarryGrennan @Indra, do you have any tips you can share with a fellow learner?

Thank you very much! — Jaycee

---

<div class="post-metadata">

**Author:** ![Indra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/indra/32/98381_2.png) [@Indra](https://community.hubspot.com/u/Indra)\
**Post date:** [April 19, 2023, 12:27pm UTC](https://community.hubspot.com/t/help-with-hubl/79332/3 "2023-04-19T12:27:31Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) thanks for mentioning.

Hi @mmcgowan702,

Have you checked the documentation for the [if stamtements](https://developers.hubspot.com/docs/cms/hubl/if-statements)?

If you want to check to a string or value you should use quotes like this

`{% if contact.contact_opeid.value == 'none' %}`
