# Glide App and PDFMonkey

**URL:** <https://community.glideapps.com/t/glide-app-and-pdfmonkey/66052>\
**Category:** Ask for Help\
**Created:** [September 12, 2023, 5:22pm UTC](https://community.glideapps.com/t/glide-app-and-pdfmonkey/66052 "2023-09-12T17:22:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_Stephens](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathan_stephens/32/63262_2.png) [@Nathan\_Stephens](https://community.glideapps.com/u/Nathan_Stephens)\
**Post date:** [September 12, 2023, 5:22pm UTC](https://community.glideapps.com/t/glide-app-and-pdfmonkey/66052/1 "2023-09-12T17:22:02Z")

</div>

Hello

Please excuse this question if it seems overly simple. I have just started using glide and pdfmonkey.

I’m trying to understand the format I need to show / hide parts of my template in PDFmonkey.

Within GLide app I have dynamic info that may or may not be filled out so I want to hide information in PDFMonkey if the information is missing.

For example I am trying to hide some tables

PDFMonkey template:

```
        {% if (???) == false %} - What I'm trying to figure out
        <table cellpadding="0" cellspacing="0" id="Thing1">
        
          <tr>
            <th></th> <!-- Dummy cell for the row number and row commands -->
            <th></th>
            <th>Example</th>
            <th></th>
            <th>Total</th>
          </tr>
        </table>
        {% endif %} - End of what I'm trying to hide

        {% if (???) == false %} - What I'm trying to figure out
        <table cellpadding="0" cellspacing="0" id="Thing2">
        
          <tr>
            <th></th> <!-- Dummy cell for the row number and row commands -->
            <th></th>
            <th>Example</th>
            <th></th>
            <th>Total</th>
          </tr>
        </table>
        {% endif %} - End of what I'm trying to hide

```

Within Glide:

I have a text field that shows what was selected in glide in the format: Thing1,Thing2,Thing3…etc

So for example: if Thing2 and Thing3 was selected in GLide how do I go about having that variable make the the statement true to show the table related to Thing2 and Thing3. I’m thinking I need the statement to show the variable does contain Thing2 or Thing3 to show the table. Or is there a better way to do this?

Thank you for your time.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 13, 2023, 1:02am UTC](https://community.glideapps.com/t/glide-app-and-pdfmonkey/66052/2 "2023-09-13T01:02:29Z")

</div>

Hi Nathan, that’s pretty close already.

This displays if thing1 is not blank.

```auto
{% if thing1 != blank %}
Display something.
{% endif %}

```

This displays if thing1 OR thing2 is not blank.

```auto
{% if thing1 != blank OR thing2 != blank %}
Display something.
{% endif %}

```

This displays if thing1 AND thing2 are not blank.

```auto
{% if thing1 != blank AND thing2 != blank %}
Display something.
{% endif %}

```

---

<div class="post-metadata">

**Author:** ![Nathan\_Stephens](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathan_stephens/32/63262_2.png) [@Nathan\_Stephens](https://community.glideapps.com/u/Nathan_Stephens)\
**Post date:** [September 14, 2023, 2:58pm UTC](https://community.glideapps.com/t/glide-app-and-pdfmonkey/66052/3 "2023-09-14T14:58:23Z")

</div>

Thanks for the help

I knew I was close, but I wasn’t sure of the exact syntax I needed to use.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2023, 3:00pm UTC](https://community.glideapps.com/t/glide-app-and-pdfmonkey/66052/4 "2023-09-14T15:00:16Z")

</div>

Please let me know if it works.
