---
title: "metadata.renameStandardField(String,String) Method  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_M_J_$au_metadata_renameStandardField_2_393e8f3d.htm
product: "Upload Suite 8"
---

# metadata.renameStandardField(String,String) Method ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Renames the specified standard POST field.

## Syntax
 
```
$au.uploader('uploaderID').metadata().renameStandardField(originalName, newName);
```
 
### Parameters
 
 - originalName
     - Type: **String**
 
The name of the standard POST field to rename.
 - newName
     - Type: **String**
 
The new fields name.

## Remarks
 
Both originalName and newName parameters can contain particular indices or use the following placeholders:
 
- *[itemIndex]*
    - Current index of the file.
 ```
var u = $au.uploader('uploaderID'); 
$au.uploader('uploaderID').metadata().renameStandardField("Description_[itemIndex]", "MyDescription_[itemIndex]");
```
- *[converterIndex]*
    - Current index of the converted file.
 ```
var u = $au.uploader('uploaderID'); 
u.metadata().renameStandardField("File[converterIndex]Mode_[itemIndex]", "MyFile[converterIndex]Mode_[itemIndex]");
```
- *[tagName]*
    - Name of the extracted EXIF of IPTC field.
 ```
var u = $au.uploader('uploaderID'); 
u.metadata().renameStandardField("[tagName]_[itemIndex]", "My[tagName]_[itemIndex]");
```

## See Also
 
### Manual
 
- [POST Field Reference](https://www.aurigma.com/docs/us8/post-field-reference-iu.htm.md)
- [Configuring POST Format](https://www.aurigma.com/docs/us8/configuring-post-format.htm.md)
