Dynamic questions- Help

You can also use the jr:choice-name() function to lookup the label associated with a value in the select_one/select_multiple question’s item list. eg

calculate = "jr:choice-name(${selected_value}, '${my_select_question}')"

[note, if its a select_one, then you can simply substitute ${my_select_question} for ${selected_value}, since its the same thing]

Here’s a sample form with a select_one:

choice-name.xls (5.5 KB)

2 Likes