Lua Methods Reference > LuaField Methods > getFieldValues

getFieldValues
The getFieldValues method returns the values of all of the sub fields with the specified name.
Syntax
getFieldValues( fieldname [, case] )
Arguments
 
(boolean) A boolean that specifies whether the fieldname argument is case sensitive. The argument is case sensitive by default (true).
Returns
(Strings) One string for each value. The strings can be assigned to a table. To map the return values to a table, surround the function call with braces. For example:
fieldvalues = { field:getFieldValues( fieldname ) }