Describe the bug
Enable when is not working correctly with Initial values. Add a choice element which will have initial value. This choice element will be hidden and this choice elements initial value is added to the questionnaire response based on another choice elements value.
To Reproduce
Steps to reproduce the behavior:
Upload the questionnaire
Click on Preview
click on questionnaire response
Expected behavior
When you click on draft the item with link id "malaria-test-code-coding" should be added to questionnaire response. when you click on active the item with link id "malaria-test-code-coding" should not be added to questionnaire response.
Screenshots
When no value is selected this is the questionnaire response
when Active is selected
when Draft is selected
Additional context
Add any other context about the problem here.
Questionnaire.zip
Describe the bug Enable when is not working correctly with Initial values. Add a choice element which will have initial value. This choice element will be hidden and this choice elements initial value is added to the questionnaire response based on another choice elements value.
To Reproduce Steps to reproduce the behavior:
Expected behavior When you click on draft the item with link id "malaria-test-code-coding" should be added to questionnaire response. when you click on active the item with link id "malaria-test-code-coding" should not be added to questionnaire response.
Screenshots When no value is selected this is the questionnaire response when Active is selected when Draft is selected
Additional context Add any other context about the problem here. Questionnaire.zip