Field
Merges the value of a field; If the field is blank, an optional default value can be merged.
SYNTAX
{{field data default}}
PARAMETERS
Name | Type | Required | Description |
---|---|---|---|
Data | Text | Required | Data to be returned. |
Default | Text | Optional | Default value to return if the data parameter has no value. If no default value is specified and the data is blank, the merge tag will be replaced with a blank value. Please note that this value does not overwrite the default value of a subscriber data field if the data field was configured to have its own default value. |
EXAMPLES
The examples below are based on the following sample content:
Dear {{field Contact.firstName "customer"}},
A. Contact’s firstName field has no value
Dear customer,
B. Contact’s firstName field has the value of Jason
Dear Jason,