Dear all,
I am getting troubles to write and enabling condition in my survey.
The case is as follows. I have a crop roster in which I ask the respondent to state whether he/she sell part of the production for each type of crop he/she cultivate in a plot, included in the roster, as the picture below
In a following section of the survey I want to ask to whom the respondent sells the crop production. I want to enable this question only if at least for one crop, in the crop roster, the respondent answered “yes”, that he/she used to sell the crop production.
I wrote the following enabling condition that should count how many times the answer is a yes, and enable the question only if the count is positive.
(crop_roster.Count(x=>x.sell_harvest_crop==1))>0
but i get the warning message “the name crop_roster does not exist in the current context”.
Could you please advise me on this?