-
DescriptionBackgroundI'm building a survey with surveydown that has two types of conditional logic. 1) conditional page showing and 2) simple conditional showing for questions. After working with the surveydown template for conditional logic, I've seen that any question that is involved in driving conditional logic is by default required. This works well for my survey for conditional questions that show pages based on the answer selected, but I'd prefer if I could change this behavior for simple conditional questions that show a textbox. For example, on a demographics page I ask the respondent to specify their current role (and "Other" is an option). If they select "Other," I want to show a question/text box that lets them describe what "Other" is. However, I don't want this role question to be a required question. Behavior I'd like to haveSo the behavior I want is for respondents to be able navigate to the next page whether they answer the "role" question or not. If they do answer (and don't select "Other"), don't show the text box question that lets them specify what "Other" means. If they answer the "role" question and select "Other", show the text box that lets them specify what "Other" means. What I've triedI thought I might be able to force this by using But using this has the same behavior as if I only checked the response for the role question. I also tried wrapping logic around
Summarized questionIs it possible to not force-require questions whose responses are checked (in logic flows) to decide whether or not to show additional/related questions? Additional informationSurveydown version: Operating system: MacOS 15.6.1 Thank you for this package! It's very intuitive and useful and I'm so excited that our group's surveys are going to be version controlled |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @kweav, thanks for trying out surveydown! We actually just made a decision very recently in v0.13.2 to auto-require any question involved in any of the conditional logic functions (see here). This is a hard-coded decision because without it, the logic can break. In your use case, I agree this is probably more of an annoyance, but without it things internally can go awry. Would it work to just include the "other" question (in your example) and always have it visible (and not required)? |
Beta Was this translation helpful? Give feedback.

Hi @kweav, thanks for trying out surveydown!
We actually just made a decision very recently in v0.13.2 to auto-require any question involved in any of the conditional logic functions (see here). This is a hard-coded decision because without it, the logic can break.
In your use case, I agree this is probably more of an annoyance, but without it things internally can go awry. Would it work to just include the "other" question (in your example) and always have it visible (and not required)?