# replace blank field?

**URL:** https://community.mp3tag.de/t/replace-blank-field/10855
**Category:** Support
**Created:** [September 23, 2010, 9:11pm UTC](https://community.mp3tag.de/t/replace-blank-field/10855 "2010-09-23T21:11:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![djatwork](https://community.mp3tag.de/user_avatar/community.mp3tag.de/djatwork/32/5560_2.png) [@djatwork](https://community.mp3tag.de/u/djatwork)
#### Post date: [September 23, 2010, 9:11pm UTC](https://community.mp3tag.de/t/replace-blank-field/10855/1 "2010-09-23T21:11:17Z")

</div>

Hello. How do I setup an action to check if the DISCNUMBER field is blank, and if so replace it with "1/1" ?

I tried using the REPLACE type, but I can't leave the Original field blank. Ideas?

Cheers,  
DJ

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [September 24, 2010, 1:10am UTC](https://community.mp3tag.de/t/replace-blank-field/10855/2 "2010-09-24T01:10:09Z")

</div>

> [@djatwork](#):
>
> Hello. How do I setup an action to check if the DISCNUMBER field is blank, and if so replace it with "1/1" ?...

Action: **Format value**  
Field: **DISCNUMBER**  
If tag-field DISCNUMBER does not exist ...  
Formatstring: **$if2(%DISCNUMBER%,'1/1')**  
If tag-field DISCNUMBER does not exist or contains space characters ...  
Formatstring: **$if($neql($trim(%DISCNUMBER%),),%DISCNUMBER%,'1/1')**  
... or ...  
Formatstring: **$if($eql($trim(%DISCNUMBER%),),'1/1',%DISCNUMBER%)**

DD.20100924.0509.CEST

---

<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:22pm UTC](https://community.mp3tag.de/t/replace-blank-field/10855/3 "2026-02-09T12:22:34Z")

</div>


