# Is there a way to create a compact "tag OK" column?

**URL:** <https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083>\
**Category:** Support\
**Created:** [May 3, 2021, 11:12pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083 "2021-05-03T23:12:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Horseflesh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/d6d6ee/32.png) [@Horseflesh](https://community.mp3tag.de/u/Horseflesh)\
**Post date:** [May 3, 2021, 11:12pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083/1 "2021-05-03T23:12:56Z")

</div>

When looking at a file list, a bad tag in the Tag column can be hard to see. The Tag column is also quite wide and screen width is valuable.

The content of the columns can be modified... we can even make our own new columns, which is great.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/2/23342805497f543ea01a79b65e2b8ce0a367e3b2.png)

But I don't yet see how I might be able to do something like this, where the good state is blank and the bad state is filled in. This would make it very easy to notice if there was a malformed tag.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/9/9caa36b1f0d2b06af892a0287769507e319beaf1.png)

Has anyone figured out how to make a _compact_ tag health indicator with the existing tools?

---

<div class="post-metadata">

**Author:** ![Horseflesh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/d6d6ee/32.png) [@Horseflesh](https://community.mp3tag.de/u/Horseflesh)\
**Post date:** [May 3, 2021, 11:33pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083/2 "2021-05-03T23:33:00Z")

</div>

Replying to myself...

Using this as the Value for a new column we can show either the ID3 version or the string "BAD" if the returned tag data has "BAD" in it.

$regexp(%\_tag%,^(._?)(\bBAD\b)(._)$,BAD)

Not quite there yet ... a blank return for a good tag would be better... but progress. Clearly I need to learn more about regular expressions.

I thought about using an if(x,y,z) to say _"if the field is 'BAD' then keep it otherwise print a ' ' "_ but as far as I can see the regular expression is not a boolean, it always returns true even if the _match_ fails.

Is there a way to use the regex to look for text and return true/false?

best I can do for now:

![image](https://community.mp3tag.de/uploads/default/original/2X/0/09efa4809e5ae03ff45598a1e7a9d21a53701b18.png)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 4, 2021, 4:30am UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083/3 "2021-05-04T04:30:31Z")

</div>

> [@Horseflesh](#):
>
> I thought about using an if(x,y,z) to say _"if the field is 'BAD' then keep it otherwise print a ' ' "_ but as far as I can see the regular expression is not a boolean,

You need an expression like `$if($eql(Term1,term2),output for true,output for false)`  
See the help on [scripting functions](https://docs.mp3tag.de/scripting/#boolean-functions).

Please note that the orginal tag type display also caters for tags in files like flac, wav, mp3 - which might be interesting to know as e.g. mp4 tags do not allow padding with zeros in the track number. Also, you may discover flac files with stacked ID3 tags (which should be reduced to the voribs comments).

I would run the whole collection through both tools, mp3val and mp3diags, and then treat errored files accordingly.

---

<div class="post-metadata">

**Author:** ![Horseflesh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/d6d6ee/32.png) [@Horseflesh](https://community.mp3tag.de/u/Horseflesh)\
**Post date:** [May 4, 2021, 6:27am UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083/4 "2021-05-04T06:27:20Z")

</div>

> [@ohrenkino](#):
>
> You need an expression like `$if($eql(Term1,term2),output for true,output for false)`

Yes, but I can't figure out how to make the test in the first $if argument return true if the %tag% string contains "BAD". Regex does not do it and none of the boolean functions let me search for a substring.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 4, 2021, 7:05am UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083/5 "2021-05-04T07:05:36Z")

</div>

> [@Horseflesh](#):
>
> and none of the boolean functions let me search for a substring

True, but if you scan through the page of scripting functions, you will also find string functions like $strstr() that return the position of a string. So a test with $ifgreater() would return whether the substring is there or not.

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [May 6, 2021, 5:22pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083/6 "2021-05-06T17:22:45Z")

</div>

Maybe this topic will give you some ideas?

> [@Two columns to check for errors](https://community.mp3tag.de/t/two-columns-to-check-for-errors/51630):
>
> I’m pretty strict and tedious about my tags, which perhaps a lot of you are. I have some questions how to have columns which will show tags that does not follow my schemes and so on. Basically I want to have two failcheck columns, one that shows all my needed tags that not present [Missing tags] and one that shows tags that does not follow my naming schemes [Wrong tags] [Missing tags] column should display: IF %album% OR %albumartist% OR %artist% OR %discnumber% OR %genre% OR %publis…

---

<div class="post-metadata">

**Author:** ![Horseflesh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/d6d6ee/32.png) [@Horseflesh](https://community.mp3tag.de/u/Horseflesh)\
**Post date:** [May 6, 2021, 5:34pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083/7 "2021-05-06T17:34:17Z")

</div>

Oh, that does look promising, thanks!

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:29pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-create-a-compact-tag-ok-column/53083/8 "2026-02-09T12:29:13Z")

</div>


