# hubl if

**URL:** <https://community.hubspot.com/t/hubl-if/15712>\
**Category:** CMS Development\
**Created:** [August 12, 2019, 1:55pm UTC](https://community.hubspot.com/t/hubl-if/15712 "2019-08-12T13:55:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreakcampbell](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/andreakcampbell/32/62359_2.png) [@andreakcampbell](https://community.hubspot.com/u/andreakcampbell)\
**Post date:** [August 12, 2019, 1:55pm UTC](https://community.hubspot.com/t/hubl-if/15712/1 "2019-08-12T13:55:32Z")

</div>

What is the if statement for a form submission?

I am building a custom email template that will display a line of text only if they fill out a certain form. IF they dont fill out that f

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [August 17, 2019, 11:15am UTC](https://community.hubspot.com/t/hubl-if/15712/2 "2019-08-17T11:15:18Z")

</div>

Doesn’t work that way …  
You’ll want to build a HubSpot Smart List that includes contacts who’ve submitted your form. Then use Smart Content in your email to display the rich text for those list members only!
