The + syntax should be used in preference to the obsolete ? form.
The + prefix is a versatile condition field syntax which may be used with integer parameters (see Numerical conditions) or with strings. A string condition may be applied to a pre-defined symbols (see Special fields in composed strings) as well as User-defined fields. Full nesting is supported, so the 'found' and 'not_found' parameters may themselves consist of another field expression or conditional field, provided that they resolve to a string.
{+fieldname=['found'],['not_found']} The string value of this composite field depends on whether a field is found or not. |
See also Examples: Composite fields |
Obsolete syntax:
{?fieldname=['true_value'][,'false_value']} This expression determines whether or not a field value is present in a data-field: superseded by +fieldname syntax above. |
See also {?fieldname} below. |
• | {?fieldname} To just return the default values T if the field value exists or F if it doesn't, it is sufficient simply to precede the field name by a question mark. Use +fieldname syntax instead. |
See also More on defining composite fields.
Links