I have a question about something I struggled with already in the past. I have a mulitselect question with tick boxes in which I ask about income sources. In previous runs of this survey, I found that respondents don’t mention all sources. E.g., respondents who in earlier questions indicate having livestock, don’t mention this as an income source (the question refers to both food and cash income).
For the current run of the survey I wanted to build in a warning validation, so if any livestock was indicated but it is not ticked as an income source, there is a warning to the enumerator to corroborate. My issue is that the validation fires when any change is made to the question, so the warning already pops up after indicating any income source (any other than livestock). I rather not have a warning pop up before a potential error is made.
A work around that I was told about in the past is to program the validation in the next question, but then the warning pops up in that question, rather than the income source question that has the problem, which is a little less nice. I suppose I could also use a yes/no mcq, but I don’t find that ideal either for this type of question. I wondered if anyone has found a more elegant workaround for this. I’ve listed the questions below as an example:
Q1 Does the household have any of the following livestock [mcq - Y/N]?
Q2 Could you mention the different income sources of the household (food and cash income) [mcq - multiselect]?
Current validation: !(!self.Contains(2) && Q1.Yes.Length>0)
Thinking more about this, perhaps better would be to ask a diffferent question, in the line of:
Q1 Besides “crop farming” and “fishing” and “livestock”, does the household have any other income sources?
I’ve seen some other examples of text piping on the forum, but that looked quite complicated to me. I determine participation in other activities in different ways (there are just three prior activities I ask about: fishing is asked about in HH roster - “does %rostertitle% fish”, crop farming through a question if they have land and plant crops, and livestock as indicated above). I also translate the survey (from English design language to one local language). Any suggestions on this?
Apologies that this has become a rather long question (and a bit vague perhaps at the end), but I thought the thinking process might perhaps help others too.
Many thanks again for any help anyone can offer!