I have two important questions.
I am creating a questionnaire where I am first taking a list of household members, followed by a single select question to input who is the main respondent.
Then I have a household roster in my questionnaire. In the roster, I have a single-select question to select the relation to the main respondent. The question has options like ‘1. Spouse, 2. Father/ mother-in-law, 3. Children 4. Other members’
I want to ensure that the option ‘Spouse’ is selected only once in the roster. Is there a way to add a validation for the same?
I was trying to make certain questions mandatory to be filled. I tried the isAnswered(self) function as an enabling condition (I found the solution on a Support page), to check if the current question has been filled. But this leads to an error. Is there another way to do this?