Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added conditional logic
Adding conditions to survey questions allows for advanced survey logic, such as branching and skip logic. This means that certain questions will only be displayed based on the responses to previous questions. This can make surveys more dynamic and tailored to the respondent's answers, improving the user experience and the quality of the data collected.
Key Concepts
1. Conditional Logic:
1.1. Conditional logic determines whether a question should be shown or hidden based on the respondent's previous answers.
1.2. Conditions are typically expressed as Boolean (e.g., true or false).
2. Branching:
2.1. Branching allows the survey to follow different paths based on the respondent's answers.
2.2. For example, if a respondent answers "yes" to a question about owning a car, they might be asked follow-up questions about their car. If they answer "no," those questions would be skipped.
3. Skip Logic:
3.1. Skip logic is a type of conditional logic where certain questions are skipped based on previous answers.
3.2. This helps in avoiding irrelevant questions and reduces the length of the survey for the respondent.
Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: