Boolean branch logic?

PaulMPaulM Community Member Qubie ✭

Boolean branch logic?

Hi, I am having a slight issue with my survey. I want to use three conditions to allow participants to proceed with a part of the survey otherwise they will see an end screen. I have found that someone has been able to advance without meeting all of my criteria.

What I want is:
Condition 1 **
Years as a footballer must be greater than 3 years
and
**Condition 2

Years as a defender must be greater than 3 years
or
Years as a midfielder must be greater than 3 years
or
Years as a striker must be greater than 3 years

Condition 3
and
Level of training received must be youth, academy, u21 or first team

What I have is:

Branch to end screen
"If
If How many years experience do you have ... Years experience working as footballer Is Less Than 3 Edit Condition
Or
If Years as defender Is Less Than 3 Edit Condition
And Years as midfielder Is Less Than 3 Edit Condition
And Years as striker Is Less Than 3 Edit Condition
Or
If What level of Level of training have you obtained ... None Is Selected Edit Condition

Someone has been able to advance with the study with 3 years as a footballer, u21 training but only 1 year as a midfielder?
Do I need to change both Or to Ands? I think the reversal of the logic from must be greater to is less than is confusing me.

Thanks,

Best Answer

  • AkdashboardAkdashboard South Carolina Superuser ✭✭✭✭
    Accepted Answer

    I would set the logic as I have laid out in my picture. Notice that they are separated by "And if" statements.

    Technically you don't need the embedded data "validation = passed", but I add extra bits like that to streamline future logic.

Sign In to Comment