The renameField method changes the name of a field.
renameField( currentname, newname [, case])
| Argument | Description | 
|---|---|
| currentname | (string) The name of the field to rename. | 
| newname | (string) The new name of the field. | 
| case | (boolean) A boolean that specifies whether the currentnameargument is case-sensitive. The argument is case sensitive by default (true). | 
|  |