Hi everyone,
I'm working on a Survey123 Connect form where i have two date feilds. "Field B" should be calculated as "Field A" + 120 days. However, the calculate must exclude certain periods of the year (e.g from May 1st to August 31st) depending on the selecter work period in another question.
I know it's possible to do this with JavaScript to skip specific dates and continue the count after those periods. But JS is not an option for this particular project.
Importante note: I don't need to add extra days to compensate (120 days + amount of days the period to exclude has). I need the days between a period to be ignored in the 120 days count. They shouldn't be considered at all, almost like they don't exist in the timeline.
Is there any way to achieve this using XLSForm expressions or other built-in tools within Survey123 Connect?
Thanks in advance.