Make a sd_is_answered()
function
#122
Closed
jhelvy
started this conversation in
Feature Requests
Replies: 1 comment
-
This is now complete as of v0.3.7 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be really helpful if we could determine whether a question was answered or not. This function would just return
TRUE
orFALSE
depending on whether a user has clicked on a choice or typed some text, etc.The use case I imagine for this would be inside
sd_show_if
orsd_skip_if
where a user wants a condition on whether the conditional question has been answered at all or not. The only way to do this right now is to include a full set of conditions for all options, which is tedious. I'm imagining the use case like this:A special consideration of this is matrix type questions, as mentioned in #105 here. We should be able to tell if any one row in a matrix type question is answered as well as if all rows are answered. For example:
For the above matrix type question, we should be able to condition on a single row like this:
And also on the entire matrix like this (here this would be
TRUE
only if all rows are answered:Beta Was this translation helpful? Give feedback.
All reactions