---
title: "Removing the custom content when the merge tag is empty"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/merge-tags/removing-the-custom-content-when-the-merge-tag-is-empty/"
---

An older version of this article suggested using a **code snippet** to hide information from a Custom Content field in case an entry field was empty. That's no longer necessary. There's a much easier way to achieve the same result using "[Field Conditional Logic](https://www.gravitykit.com/docs/gravityview-pro/advanced-filter/field-conditional-logic/)".