Lua Methods Reference > LuaDocument Methods > renameField

renameField
The renameField method changes the name of a field.
Syntax
renameField( currentname, newname [, case])
Arguments
 
(boolean) A boolean that specifies whether the currentname argument is case-sensitive. The argument is case sensitive by default (true).