getFieldValue
The getFieldValue
method gets the value of a field in a document. To return the values of a multi-value field, see getFieldValues.
Syntax
getFieldValue( fieldname [, case])
Arguments
Argument | Description |
---|---|
fieldname
|
(string) The name of the field to be retrieved. |
case
|
(boolean) A boolean that specifies whether fieldname is case-sensitive. The argument is case sensitive by default (true ). |
Returns
(String). A string containing the value.