1. What is the issue? Please be detailed.
i have a multiple select question asking:
select_multiple banks q1 1. Of the following banks in which bank(s) do you have an active account?
the choices are: 1-bank1, 2-bank2, 3-bank3, 4-bank4, 5-bank5.
i then have a repeat group setup as follows for each bank selected in q1:
begin repeat bank_details BANK DETAILS selected(${consent},'1') ${q1_count}
calculate bank_name jr:choice-name(selected-at(${q1}, position(..)-1), '${q1}')
select_one yes_no q2 2. Have you accessed any mobile loan in the last 12 months from ${bank_name}? the choices are 1-yes, 2-no.
end repeat
then i have a question asking: q17. of the banks you have mobile loans with, which is your best? and the choices are to be filtered based on the question within the repeat to only list as choices the banks with the answer 'yes' to the question in the repeat.