How to skip pattern

B5. Usually, how many of the following types of tobacco do you currently smoke each day? (Multi-Option)
1- Manufactured cigarettes
2- Hand-rolled cigarettes (made by local business)
3- Hand-rolled cigarettes (rolled by self, home-made)
4- Cigar
5- Tobacco pipe (exclude waterpipe)
6- Waterpipe
B8. How many of the following types of tobacco do you currently smoke during a usual week? (Multi-Option)
1- Manufactured cigarettes
2- Hand-rolled cigarettes (made by local business)
3- Hand-rolled cigarettes (rolled by self, home-made)
4- Cigar
5- Tobacco pipe (exclude waterpipe)
6- Waterpipe
B11- Does the empty pack given to you by the subject display the Domestic tax stamp?:
1= YES
2= No
3= DK
If I Answered Any B5 contain code 1 and B8 Contain Code 1 ask B11 How to write syntax to skip this pattern?
I have try B5.Contains(1) || B8.Contains(1) this way but worked only B5 and B8 doesn’t work

Hi @marady

I want to help you but first I need to know this:
B11 should be enable when B5 is one or when B8 is one (manufactured cigarretes)?
If your answer is no, when should be enable B11?

Hey!!! @kv700032

Actually I want enable B11 ask if B5 or B8 contains code 1. And Other option Code not ask B11 (skip to next section) How to do this? please help me sir

Best Regard

Marady

For this you only need do this in the enabling condition:
B5.Contains(1) || B8.Contains(1)

Thanks you for helpful, I already try with this way but it doesn’t work. It work only B5 but B8 not
Actually when I selected other option code ( not code 1) in B5 and B8 I selected Code 1 and Other option code. and B11 it not show to fill in

This works if both questions are answered.

If one of the two questions is not answered, this happens

try

B5.ContainsAny(1) || B8.ContainsAny(1)

This should open B11 as soon as either B5 or B8 is answered with 1.