-
Notifications
You must be signed in to change notification settings - Fork 35
Enable when is not working correctly with Initial values #464
Description
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
image
image
When no value is selected this is the questionnaire response
image
when Active is selected
image
when Draft is selected
image
Additional context
Add any other context about the problem here.
Questionnaire.zip