Rules+ | Formula RULETEXT
Description
This formula resolves a chosen rule and returns the first text when the rule is fulfilled, otherwise the second.
Formula(s)
PHP
RULETEXT("Rule ID or key";"If text";"Else text")
Result
String
Parameters
Parameter | Contents | Format | Default value | Explanation |
---|---|---|---|---|
Rule ID or key | Rule to be fulfilled | Rule ID: Integer Key: String | "" | |
If text | Text when the rule is fulfilled | String |
| |
Else text | Text when the rule is not fulfilled (optional) | String | "" |
|