Alternatively, if the periods are well-defined (eg 10 days) AND you want the form to determine the period given a specific date (either today() or the user enters it an date question), then you should be able to calculate the period number (1,2,3…) from the year’s day number (using decimal-date-time()). Then, given the period number, you can map that to a interval name using either a jr:choice-name(), or - if the interval name doesn’t contain spaces - a selected-at().
1 Like