renameField
The renameField method changes the name of a field.
Syntax
renameField( currentname, newname [, case])
Arguments
| 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 currentname argument is case-sensitive. The argument is case sensitive by default (true). |