Lua Methods Reference > LuaDocument Methods > copyField

copyField
The copyField method copies a field value to a new field. If the target field already exists it is overwritten.
Syntax
copyField ( sourcename, targetname [, case] )
Arguments
 
(boolean) A boolean that specifies whether sourcename is case-sensitive. The field name is case sensitive by default (true).