View Revisions: Issue #14465

Summary 14465: EM relevance not being recalculated after conditions changed (Full survey included)
Revision 2019-01-30 08:50 by DenisChenu
Steps To Reproduce

I included a .lss with a example, as follow:

q5, List (radio) [L], Relevance=1
3 answer to choose: yes, no, etgvd

q6, Numerical input [N], Relevance=q5.code == 'etgvd'

q6confirm, Multiple choice [M], Relevance=q6.code > 40

Initially, only q5 is shown. When user select q5 to "etgvd" option, q6 numeric input show as expected. If you type a number greater than 40, q6confirm appears. But if you change your mind, and select "yes" or "no" on q5, only q6 disappear, q6confirm keep showing (to be fair, neither q6 or q6confirm is persisted on database on submit)

I think this is a critical bug, or i'm missing something.

I included further questions with same behavior (q5yesno=Yes/No, q6number show when q5yesno=='Y',q6numberX is show when q6number is relevance)

Revision 2019-01-29 20:50 by renatocron
Steps To Reproduce

I included a .lss with a example, as follow:

q5, List (radio) [L], Relevance=1
3 answer to choose: yes, no, etgvd

q6, Numerical input [N], Relevance=q5.code == 'etgvd'

q6confirm, Multiple choice [M], Relevance=q6.code > 40

Initially, only q5 is shown. When user select q5 to "etgvd" option, q6 numeric input show as expected. If you type a number greater than 40, q6confirm appears. But if you change your mind, and select "yes" or "no" on q5, only q6 disappear, q6confirm keep showing (to be fair, neither q6 or q6confirm is persisted on database on submit)

I think this is a critical bug, or i'm missing something.

I included further questions with same behavior (q5yesno=Yes/No, q6number show when q5yesno=='Y',q6numberX is show when q6number is relevance)