I am looking for ways to explicitly mention unselected choices from previous questions in follow up questions using jr:choice-name.
Expected behaviour: In the following example, I would like Q2 to ask for the fruit not mentioned in Q1. If the respondent said apples in Q1, I want to see Q2 asking for oranges.
Q1: select_one: Do you like apples or oranges?
calculate1: if(Q1=“apples”, make that jr:choice-name shows “oranges”, make that jr:choice-name shows “apples”).
Q2: text: Why did you not pick ${calculate1}.
This example is relevant for forms using several languages. Maybe there is a more straightforward solution I am not seeing?
Welcome to the community, @eduardoag! Why would you try that approach when we already have another approach that has been discussed in the community previously:
Hi, thanks for the swift response. Regrettably, this does not solve my problem. Sorry, it might have been that the question’s title is misleading. As you see in the provided example, I would like the question text, not the response option, to change dynamically depending on previous answers. The response options are the same in my form, but the questions vary depending on the first response.