Gravityview [gvlogic] trick

Quick Tip: There are times when using the [ gvlogic] shortcode you need to have multiple conditions.

Although, gravityview’s newer releases allow for [gvlogic] and [gvlogic2], I found this trick allows for infinite conditions:

[gvlogic if=”target object” is=”some condition”]

<div style=”display:none”>



<p> Hello, World</p>

</div> //make sure to end content with closing div

By using the html style condition of “display:none”, you can wrap any text with this pattern to show or hide content.