I would find it really powerful if the operator ?: can be used inside the expression editor. It would allow complex inline evaluations and help cut down on the amount of conditionals needed in visual elements.
[if this is true] ? [then evaluate this] : [else evaluate this]
Examples:
- Timer: When displaying seconds with leading zeros, pad it with β0β if seconds is less than 10.
varSeconds < 10 ? 0varSeconds : varSeconds - Building text: Add space character and last name if last name is present
varLastName isnβt empty ? varFirstName varLastName : varFirstName - Chain multiple conditions in one expression
((var1 is yes ? field1 : field2) == 10 ? yes : no)