Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added conditional logic #79

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

code-kanav
Copy link

@code-kanav code-kanav commented Feb 28, 2025

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:

@code-kanav code-kanav closed this Feb 28, 2025
@code-kanav code-kanav reopened this Feb 28, 2025
@code-kanav code-kanav closed this Feb 28, 2025
@code-kanav code-kanav reopened this Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant