# Can a field be removed through a 'Format value' Action?

**URL:** https://community.mp3tag.de/t/can-a-field-be-removed-through-a-format-value-action/8533
**Category:** Support
**Created:** [June 29, 2009, 7:48pm UTC](https://community.mp3tag.de/t/can-a-field-be-removed-through-a-format-value-action/8533 "2009-06-29T19:48:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [June 29, 2009, 7:48pm UTC](https://community.mp3tag.de/t/can-a-field-be-removed-through-a-format-value-action/8533/1 "2009-06-29T19:48:03Z")

</div>

I have an action that formats the field ALBUMARTIST.

_Action type:_ **Format value**  
_Field:_ **ALBUMARTIST**  
_Format string:_ **$if($eql(%compilation%,1),,%artist%)**

If COMPILATION=1, and I execute this on a file that already has an ALBUMARTIST field, then the field remains with its original value unchanged. If COMPILATION=1 and I use this on a file with no ALBUMARTIST field, then the field is not created.

What I expected was that setting the field to a blank string would remove it. Is what I'm seeing the correct behavior? The workaround that I'm using is to first remove the ALBUMARTIST field in an action before executing the action shown above. Is there some way to (and remove) the field using the $if() in a Format value action?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [June 29, 2009, 8:29pm UTC](https://community.mp3tag.de/t/can-a-field-be-removed-through-a-format-value-action/8533/2 "2009-06-29T20:29:11Z")

</div>

This used to work until 2.34.  
Now it seems impossible to write an empty tag to delete a tag field.  
I don't know if this change was intended.

Florian:  
That must be the same issue [/t/8445/1](https://community.mp3tag.de/t/8445/1) (german topic)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [July 12, 2009, 6:21pm UTC](https://community.mp3tag.de/t/can-a-field-be-removed-through-a-format-value-action/8533/3 "2009-07-12T18:21:03Z")

</div>

This should be working again with the current [Development Build](http://developer.mp3tag.de) Mp3tag v2.43b.

Kind regards,  
Florian

---

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [July 12, 2009, 7:58pm UTC](https://community.mp3tag.de/t/can-a-field-be-removed-through-a-format-value-action/8533/4 "2009-07-12T19:58:16Z")

</div>

> [@Florian](#):
>
> This should be working again with the current [Development Build](http://developer.mp3tag.de) Mp3tag v2.43b.

Thanks Florian. I hope nobody has defined actions that rely on that recent behavior, but you can probably count on it. 😉

---

<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:21pm UTC](https://community.mp3tag.de/t/can-a-field-be-removed-through-a-format-value-action/8533/5 "2026-02-09T12:21:37Z")

</div>


