I have a numerical input field for the survey respondents to enter a year. I want to make sure that year is not in the future. How can I use expression manager in the question validation to ensure this?
I do not want to set the maximum value to 2016, because this survey will be run again in 2017.
You can use the Expression Manager date() function with a "Y" format to return the current year. So, for example, if you have question code "Q1", the validation equation would be: