Question Conditions
Last updated
Last updated
(c) 2024 Data Illusion Zumbrunn. All rights reserved. Reproduction strictly forbidden.
Question conditions allows you to define a condition based on the actual respondent answers to that question.
One you have selected a question for your condition rule you may define how it will be evaluated. The rule will be evaluate to true if ngSurvey was able to match its condition definitions.
Answered
will be trigger the rule if the selected answer has been selected by the respondent.
Not answered
will be trigger the rule if the selected answer has not been selected by the respondent.
Rated
let you define the rating that should be reached for that question.
Scored
let you define a score total that should be reached for that question.
You may select one answer that will be included in your condition's definition. If you select any answer definition will be evaluated to true if the respondent has selected any answer of the question.
If you want to evaluate that the respondent did not answer a question you may set the condition type to Not answered and set the condition answer to Any answer.
The condition definitions of text based repondent answers like field answers can be further fine tuned using following properties.
Comparison operator.
Value to compare.
Type used for comparison.
Equals
check that the value is equals the one entered by the respondent. This is not case sensitive.
Contains
check that the value is part of the one entered by the respondent.
Greater
check that the value is greater than the one entered by the respondent. This is type depended if you selected for example the numeric then 10 would be greater than 9, if it was a date then 2nd June would be greater than 1st June.
Less
check that the value is less than the one entered by the respondent.
RegEx
let you define a regular expression to validate the respondent value.
If you want to evaluate that a respondent answer text is not equals to a value you may set the condition type to Not answered and the comparison operator to equals