Constrain date (year) between two dates

Thank you!
How can I control the register year so that enumerator have to enter year which is between start and end date of register
I attached the picture.
image

Hi @Dushime
You can extract year from a date using formula like: format-date(${date1}, '%Y') and then compare with the value from the first question. Something like this maybe:
Registration.xlsx (8.2 KB)