# Hide elements (\<br\>\<b\>\</b\>\<br\>) in a column

**URL:** <https://forums.knack.com/t/hide-elements-br-b-b-br-in-a-column/9218>\
**Category:** API & Custom Code\
**Created:** [July 17, 2019, 5:39pm UTC](https://forums.knack.com/t/hide-elements-br-b-b-br-in-a-column/9218 "2019-07-17T17:39:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbeerMonaq52234](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@AbeerMonaq52234](https://forums.knack.com/u/AbeerMonaq52234)\
**Post date:** [July 17, 2019, 5:39pm UTC](https://forums.knack.com/t/hide-elements-br-b-b-br-in-a-column/9218/1 "2019-07-17T17:39:46Z")

</div>

Hi all!

I have a table that has a text formula. The text formula combines multiple fields (question and answers) and separates them using \<br\>. This is how i have it:

\<b\>question1\</b\> answer1

\<br\>

\<b\>question2\</b\> answer2

\<br\>

\<b\>question3\</b\> answer3

\<br\>

&nbsp;

For some records, some of the fields are empty so this is how it results:

\<b\>question1\</b\> answer1

\<br\>

\<b\>\</b\>

\<br\>

\<b\>question2\</b\> answer2

\<br\>

&nbsp;

In my table, the empty space would show and it would take so much space:

&nbsp;

Is there a code that I could use to hide the \<b\>\</b\>\<br\> if the \<b\>\</b\> was empty for this column/field?

---

<div class="post-metadata">

**Author:** ![WX24733](https://avatars.discourse-cdn.com/v4/letter/w/77aa72/32.png) [@WX24733](https://forums.knack.com/u/WX24733)\
**Post date:** [July 30, 2019, 3:51am UTC](https://forums.knack.com/t/hide-elements-br-b-b-br-in-a-column/9218/2 "2019-07-30T03:51:14Z")

</div>

You can use jquery or rule in your app.

For more details, please contact me. [wangstar1031@hotmail.com](mailto:wangstar1031@hotmail.com)

Frankly, i need to know your status properly.
