Giul  
                
                  
                    February 6, 2023, 10:48am
                   
                  1 
               
             
            
              Hi everyone,
I have a small question, I have a problem with skipping questions after a yes-no question. Even if I give the ‘yes’ condition as relevant it does not skip the following question if the answer is ‘no’.
Here below the example:
Anyone has idea what could be the problem?
Many thanks in advance!
             
            
              
           
          
            
              
                Kal_Lam  
              
                  
                    February 6, 2023, 12:26pm
                   
                  3 
               
             
            
              @Giul , could you show the variable name referenced with tipo_visita by sharing the entire screenshot from your XLSForm? Is it a select_one question or a select_multiple question?
             
            
              
           
          
            
              
                Giul  
                
                  
                    February 6, 2023,  1:17pm
                   
                  4 
               
             
            
              Here it is
the same problem happens in following yes-no questions. Tipo visita (Type of visit) has three options.
Thanks!!
             
            
              
           
          
            
              
                Kal_Lam  
              
                  
                    February 8, 2023, 12:14pm
                   
                  5 
               
             
            
              @Giul , it seems like you have not provided space before the or operator:
${tipo_visita}='2'or ${tipo_visita}='3'
Try using this instead:
${tipo_visita}='2' or ${tipo_visita}='3'
             
            
              
           
          
            
              
                Giul  
                
                  
                    February 13, 2023,  9:14am
                   
                  6 
               
             
            
              Hi @Kal_Lam 
Many thanks for your answer, which I saw now!
I tried to do as you suggested, but it still does not skip the condition if the answer is ‘no’, in all cases where I have the if yes condition:
Do you see any other problem?
Many thanks in advance!!!
             
            
              
           
          
            
              
                Kal_Lam  
                
                  
                    February 14, 2023,  7:26am
                   
                  7 
               
             
            
              @Giul , the image shared below should help you understand how to use the operators to make a skip logic in various conditions:
 
 
 
 
Skipping.xlsx  (19.2 KB)
             
            
              1 Like 
            
                
           
          
            
              
                Giul  
              
                  
                    February 14, 2023,  8:46am
                   
                  8 
               
             
            
              Hi @Kal_Lam 
I added the parenthesis as suggested, great, it works now 
             
            
              1 Like