Conditioning one roster item on another

How can add a validation condition such that item1>=item2 under the same variable in a roster?


The answer probably depends on your setup quite heavily, and there is more than one way of doing it.

Recall that you can refer to individual items in the roster by their rowcode @rowcode.
Suppose you want to gather average temperature in the winter (code 2), spring (code 13), and summer (code 79), then the following must be true (at least for my country):

(SEASONS[2].AvgTemp<=SEASONS[13].AvgTemp) && (SEASONS[13].AvgTemp<=SEASONS[79].AvgTemp)

PS: If you are doing an attempt to make interviewers type in sequential numbers - imho that’s futile.