Lua Methods Reference > LuaDocument Methods > copyFieldNoOverwrite

copyFieldNoOverwrite
The copyFieldNoOverwrite method copies a field value to a new field but does not overwrite the existing value. After calling this function the target field will contain all values of the source field in addition to any values it already had.
Syntax
copyFieldNoOverwrite( sourcename, targetname [, case])
Arguments
 
(boolean) A boolean that specifies whether sourcename is case-sensitive. The name is case sensitive by default (true).