Open virgile-dev opened 5 years ago
I suggest these changes:
answered
, not answered
, equal
, not equal
, includes the text:
To display this question:
and 2 options: This condition needs to be satisfied always regardless the status of other conditions
, This condition may not be satisfied if another condition is valid
@microstudi about the 2. I'm not sure. I'm affraid that if it's just a text field the admin might be confused. Are you thinking about some auto complete feature that would make it easier ?
From what I'm understanding the "value field" would only appear for these operators :
equal
(admin has to type in the option ?) --> some kind of validator needed to check if option exist ?not equal
(admin has to type in the option ?) --> some kind of validator needed to check if option exist ?includes the text
(admin is free to type in any textanswered
and not answered
do not need the value field to be validated
Sorry your're right, it's not possible to do what I've proposed because it is not possible to define de raw value for a question. So it is mandatory to use some automated select. Sorry about that, i wanted to simplify the management.
@microstudi can you tell you or the developper who is working on this to reference this issue on its PR ? thanks !
This feature has been merged in develop in this PR https://github.com/decidim/decidim/pull/6241
Such a great news !
Context
Need for more complex questionnaire structure where subsets of question display based on user's answer.
The design of this feature has been inspired by Kobotools.
Simple description feature
As an admin I need to be able to create a set of conditions that triggers a question to display.
Mockups
Constraints