Lua Methods Reference > LuaField Methods > deleteField

deleteField
The deleteField method deletes the sub field with the specified name.
Syntax
deleteField( name [, case] )
deleteField( name , value [, case] )
Arguments
 
(string) The value of the sub field. If this is specified a field is deleted only if it has the specified name and value. If this is not specified, all fields with the specified name are deleted.
(boolean) A boolean that specifies whether the name argument is case sensitive. The argument is case sensitive by default (true).