Returns the number of instances of a given repeater, or evaluates a ternary expression using the number of instances.
Syntax
<<[Count:Repeater{Filter}:Expression]>> Client Server
Repeater Required
Tag name of repeater
Filter
Boolean expression to filter repeater items e.g. {'<<Type>>' == 'Primary'}
Expression
Ternary expression using @Count to reference count e.g. @Count > 1 ? 'Contacts' : 'Contact']>>
Examples
Function | Result |
---|---|
<<[Count:Contact]>> | 2 |
<<[Count:Contact:@Count > 1 ? 'Contacts' : 'Contact']>> | Contacts |