Filter answer choices by date

Welcome @sphilto,
Could you provide the related part/extract of your XLSForm, please, incl. choice_list examples?

I would recommend to first develop the solution without pulldata.

You may also have a look at a previous discussion found with the recommended search function of the forum:
https://community.kobotoolbox.org/t/epidemic-calendar-as-reporting-period/2232

Hints:
If the date_filter is a column of the choices it is a text value there (not a datetime). So, you may need to convert it first https://getodk.github.io/xforms-spec/#fn:date
int(…) will cut off any decimals.

1 Like