What would the xlsform line look like to display the message "invalid survey" and exit the survey if the user tries to collect data on any date other than 2/5/2024. I know this should be simple but I can't get it to work. In other words, I want the relevant column to evaluate today's date and if it's a date other than 2/5/24, the "invalid survey" will be displayed.
This is the note (message) I want to display when the user presses collect to open the survey and the date is anything aside from 2/5/2024. I thought that I just need a constraint in the "relevant" column for the survey to know whether to be displayed or not. Just looking for what to put into the relevant column and/or additional lines prior to this line if additional logic is needed.
type name label
| note | surveyerror | <font color="red"><b>This survey can only be used to open drop boxes on Monday, February 5</b> </font> |