# Copy Field Value in another field

**URL:** https://community.mp3tag.de/t/copy-field-value-in-another-field/71656
**Category:** Mac
**Created:** [July 24, 2026, 10:36pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656 "2026-07-24T22:36:22Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 24, 2026, 10:36pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/1 "2026-07-24T22:36:22Z")

</div>

Hello,  
I need some help to program the following.  
I have built a field "Composer2" through checkbox.  
When I check a box in the tag panel, the field "Composer2" display the info.  
Here is the value of each check box: $IF($%PL Deer Jade%=1,PL Deer Jade-,)

I would like to copy the output of the field "Composer2" into the field "Composer" without erasing the content of the field "Composer" which has currently this value: $metasep(composer,\\)

What function should I use in the value ? OR, AND, IF2 ?

thanks

---

<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: [July 25, 2026, 5:48am UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/2 "2026-07-25T05:48:39Z")

</div>

> [@fracta](#):
>
> $IF($%PL Deer Jade%=1,PL Deer Jade-,)

This is no valid MP3tag scripting syntax.  
I doubt that you can define a format string for a tag panel element, you can select only a field which is read and written to.

If you want to copy the field contents of one field to another, see the FAQs

> [@Actions and batch-operations](https://community.mp3tag.de/t/actions-and-batch-operations/967/15):
>
> How to copy one field value to another field? Example how to copy the content of the ARTIST field to the ALBUMARTIST field: Create a [new action](https://community.mp3tag.de/t/actions/967/2) in an existing action group or make a new action group. Action type: Format value Field: ALBUMARTIST Format string: %artist% Note: If you want to copy all possible values of a field (in case you have multiple artist fields), the internal scripting function [$meta\_sep](https://docs.mp3tag.de/scripting) can be used in the format string, e.g., $meta\_sep(artist,\\\\)

If you want to add contents to a multi-value field, try as  
Format string: `$metasep(composer,\\)\\PL Deer Jade-`

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 25, 2026, 12:36pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/3 "2026-07-25T12:36:38Z")

</div>

Hello thanks for your help.

see my configuration in attachment.

Composer2 Value =  
$IF($%PL Deer Jade%=1,PL Deer Jade-,)$IF($%PL Bresil%=1,PL Bresil-,)$IF($%PL Laurent Garnier%=1,PL Laurent Garnier-,)$IF($%PL Radio Meuh%=1,PL Radio Meuh-,)$IF($%PL SOLOMUN%=1,PL Solomun-,)$IF($%PL Carl Cox%=1,PL Carl Cox-,)$IF($%PL Luciano%=1,PL Luciano-,)$IF($%PL MOCHAKK%=1,PL Mochakk-,)$IF($%PL Enfants%=1,PL Enfants-,)$IF($%PL French Touch%=1,PL French Touch-,)$IF($%PL GUTS%=1,PL Guts-,)$IF($%PL HOTEL%=1,PL Hotel-,)$IF($%PL MACEO PLEX%=1,PL Maceo Plex-,)$IF($%PL Original/Sampled%=1,PL Original/Sampled-,)$IF($%PL Improbable%=1,PL Improbable-,)

 ![Capture d’écran 2026-07-25 à 14.31.25](https://community.mp3tag.de/uploads/default/original/3X/3/6/36858e0a5286f66ab758a31ceee68b851fb865a1.png)

I would like to copy the value of composer2 into Composer field

 ![Capture d’écran 2026-07-25 à 14.34.41](https://community.mp3tag.de/uploads/default/original/3X/4/a/4a1420e8e77c0c70ace23edb560b8ccf71044d3c.png)

I also tried an action but I could not found Composer2 for the action. reason why I would like to copy composer2 value to composer field.

Remember I don't want to delete value of composer if there is already a value.

thanks

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 25, 2026, 12:38pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/4 "2026-07-25T12:38:04Z")

</div>

how can I export my configuration to let you test it on your computer ?

thanks

---

<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: [July 25, 2026, 12:52pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/5 "2026-07-25T12:52:46Z")

</div>

> [@fracta](#):
>
> how can I export my configuration to let you test it on your computer ?

I don't have a Mac - so it would not be helpful.

Again: the syntax

> [@fracta](#):
>
> $IF($%PL Deer Jade%=1,PL Deer Jade-,)

is not a valid syntax.  
AFAIK it should be something like  
`$if($eql(%PL Deer Jade%,1),PL Deer Jade,)`  
You can test this expression in Convert\>Tag-Tag.  
I doubt that you can use the display in a field list column to set the value of field automatically.  
You would have to use an action of the type "Format tag field" for the target field with the format string that you applied so far for the value of the column.  
Unless you really set a (new) value the field either does not exist or does not recognize the displayed value.

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 25, 2026, 10:11pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/6 "2026-07-25T22:11:24Z")

</div>

> [@ohrenkino](#):
>
> ou would have to use an action of the type "Format tag field" for the target field with the format string that you applied so far for the value of the column.

May you explain how I setup this action ? What format string should I fill in the action ?

thanks

---

<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: [July 25, 2026, 10:17pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/7 "2026-07-25T22:17:00Z")

</div>

> [@fracta](#):
>
> May you explain how I setup this action

See the documentation on how to create an action:

> [@Quick Actions and Action Groups](https://community.mp3tag.de/t/quick-actions-and-action-groups/51882):
>
> Mp3tag for Mac provides a variety of Actions, which can be used on filenames and tags. The actions can be applied individually via Actions → Quick Actions ⌥⌘ 6 or be grouped into named and reusable Action Groups via Actions → Actions ⌘ 6. Action Groups serve as repeatable workflows in Mp3tag for Mac. When using Quick Actions you can select one of the different available action types from the list. This action will be applied to the selected files and the changes are saved immediately. Tip 1…

I cannot say a lot about the contents of the format string - basically it would be this:

> [@ohrenkino](#):
>
> You would have to use an action of the type "Format tag field" for the target field with the format string that you applied so far for the value of the column.

... only with the correct syntax.

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 26, 2026, 12:36pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/8 "2026-07-26T12:36:00Z")

</div>

Hello,

I already have an action to add tags info into comment field.

I tried to create an action to add composer2 data into composer field...but it does not work.

what would be the correct syntax I should use ?

sorry but I'm a novice into programming in MP3TAG

---

<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: [July 26, 2026, 12:40pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/9 "2026-07-26T12:40:42Z")

</div>

Please show us the action that you already have.  
Or please show us the action with which you tried to add data to composer.  
Basically, I already mentioned the necessary parts:

> [@ohrenkino](#):
>
> If you want to add contents to a multi-value field, try as  
> Format string: `$metasep(composer,\\)\\PL Deer Jade-`

and

> [@ohrenkino](#):
>
> AFAIK it should be something like  
> `$if($eql(%PL Deer Jade%,1),PL Deer Jade,)`

so, combine these 2 and get  
Format string: `$metasep(composer,\\)\\$if($eql(%PL Deer Jade%,1),PL Deer Jade,)`

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 26, 2026, 12:45pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/10 "2026-07-26T12:45:42Z")

</div>

here is the format string I have for the comment field:

%Initialkey%-$left($right(%bpm%,7),3)-E%Energylevel%-%Rate%-$IF($%Intro%=1,Intro-,)$IF($%intronobeat%=1,Intronobeat-,)$IF($%Early%=1,Early-,)$IF($%warmup%=1,Warmup-,)$IF($%Peaktime%=1,Peak-,)$IF($%End%=1,End-,)$IF($%Emergency%=1,Emergency-,)$IF($%Groovy%=1,Groovy-,)$IF($%Tubes%=1,Tubes-,)-%Composer%

Taking in consideration that I have created a field "Mix Scheduled" that record the output of the checkbox: intro, warmup, peaktime, emergency, Groovy, tubes, End...  
I tried to add %mix scheduled% into the action to replace the if function but it did not work. reason why I have added the If function...

---

<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: [July 26, 2026, 12:49pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/11 "2026-07-26T12:49:39Z")

</div>

Either the syntax for the Mac version is completely different from the WIndows version or you present something that has never worked and comes from some kind of AI source.  
Again: I am pretty sure that the syntax

> [@fracta](#):
>
> $IF($%Intro%=1,Intro-,)

is invalid.  
I would suggest that you verify first that this expression works at all or replace it with already mentioned code that I suggested earlier.

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 26, 2026, 12:51pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/12 "2026-07-26T12:51:20Z")

</div>

ok shall I replace this string  
$IF($%Intro%=1,Intro-,)  
by  
$if($eql(%Intro%,1),Intro-,)

---

<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: [July 26, 2026, 12:52pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/13 "2026-07-26T12:52:43Z")

</div>

That would be my idea

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 26, 2026, 1:06pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/14 "2026-07-26T13:06:38Z")

</div>

I have done the proposed change and tried to add the "Mix Schedule" info into the comment field through an action but comment field remain blank.

mix schedule value: $IF($eql(%Intro%,1),Intro-,)$IF($eql(%intronobeat%,1),Intronobeat-,)$IF($eql(%Early%,1),Early-,)$IF($eql(%warmup%,1),Warmup-,)$IF($eql(%Peaktime%,1),Peak-,)$IF($eql(%End%,1),End-,)$IF($eql(%Emergency%,1),Emergency-,)

Action for comment ( see attachment)

 ![Capture d’écran 2026-07-26 à 15.04.02](https://community.mp3tag.de/uploads/default/original/3X/e/c/ec97dfed99cf6ad66cf0840b4205a13ffff502e8.png)

%mix schedule%

---

<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: [July 26, 2026, 1:09pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/15 "2026-07-26T13:09:19Z")

</div>

Please check the extended tags dialogue whether `mix schedule` has a value at all (=exists)?

On a side note:  
I would create a test file and supply a value for one of your user-defined fields like `intronobeat` and then check if the expression for `mix schedule` returns "Intronobeat-" - to make sure that the expression works

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 26, 2026, 1:11pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/16 "2026-07-26T13:11:54Z")

</div>

on the left tags dialogue menu, "mix schedule" is blank ☹ but the column "mix schedule" has the correct info ( see print screen)

 ![Capture d’écran 2026-07-26 à 15.12.43](https://community.mp3tag.de/uploads/default/original/3X/3/d/3de4c93fdef3551dbb6a1307e4203dcb9106753d.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: [July 26, 2026, 1:19pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/17 "2026-07-26T13:19:29Z")

</div>

I meant the extended tags dialogue that opens with Command-T.

Please show us the extended tags dialogue and the definition of the item in the tag panel.  
Or: the field, that you filled in the file list also has to referenced in the tag panel item definition to show the same data.

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 26, 2026, 1:22pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/18 "2026-07-26T13:22:18Z")

</div>

I did command-T and the field "mix schedule" is not in the list...  
mix schedule field is recording the output of the checkbox: Intro, Warmup, peaktime,...

Warmup = 1 is displayed below in the extended tags dialogue.  
Warmup = 1 because the warmup checkbox is checked on the left tags menu

 ![Capture d’écran 2026-07-26 à 15.21.27](https://community.mp3tag.de/uploads/default/original/3X/e/c/ecdea159b299e2cb024d2721b65187996582ae19.png)

really appreciate your support/help

---

<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: [July 26, 2026, 1:28pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/19 "2026-07-26T13:28:28Z")

</div>

This prooves to me several things:

- The column in the file list only displays stored data but the display is not enough to also write it to a field - in this case mix schedule.
- The field mix schedule has not/never been filled with data.
- You need an action of the type "Format tag field" to write data to a tag field.

So, after you have filled the various fields like "Warmup", "Early" etc. with the `1`, you have to run the action of the type "Format tag field" for "mix schedule" with the format string

> [@fracta](#):
>
> $IF($eql(%Intro%,1),Intro-,)$IF($eql(%intronobeat%,1),Intronobeat-,)$IF($eql(%Early%,1),Early-,)$IF($eql(%warmup%,1),Warmup-,)$IF($eql(%Peaktime%,1),Peak-,)$IF($eql(%End%,1),End-,)$IF($eql(%Emergency%,1),Emergency-,)

And you have to run that action, every time you change something in the individual parts of the schedule.

---

<div class="post-metadata">

### Author: ![fracta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fracta](https://community.mp3tag.de/u/fracta)
#### Post date: [July 26, 2026, 1:32pm UTC](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656/20 "2026-07-26T13:32:58Z")

</div>

ok I did an action for the field "Mix schedule" with this value:

$IF($eql(%Intro%,1),Intro-,)$IF($eql(%intronobeat%,1),Intronobeat-,)$IF($eql(%Early%,1),Early-,)$IF($eql(%warmup%,1),Warmup-,)$IF($eql(%Peaktime%,1),Peak-,)$IF($eql(%End%,1),End-,)$IF($eql(%Emergency%,1),Emergency-,)

and now the "mix schedule" data is available on the left menu

we make progress !

my question is can I combine 2 actions into 1 to fill different data into composer and Mix schedule ?

[Next page](https://community.mp3tag.de/t/copy-field-value-in-another-field/71656.md?page=2)
