I have a survey where I only want users to add data within a repeat but still view the original data in the parent form when revisiting the survey via the Inbox. I figured this could be done with a note summarizing the parent form while hiding all of the question on the parent form. I am have some difficulty coming up with a relevant statement that can accomplish this. I was thinking it could be done using dates I have a date field: originalSurveyDate calculated to once(today())
I was thinking that I could set the relevant expression for the fields I want to show initially to ${originalSurveyDate} = today()
and the relevant for the note that I want to appear on revisit from the inbox to ${originalSurveyDate} != today() or ${originalSurveyDate} < today(), however neither of these work. Any thoughts on solutions to my conundrum would be greatly appreciated.
Hi Brent,
You should be able to make a comparison on the date fairly easily; today() should be comparable to a previous date. Alternatively, you could use format-date() and compare m/d/y strings.