Millisecond Forums

Skip

https://forums.millisecond.com/Topic10614.aspx

By Amina_Ben - 6/7/2013

I am trying to use the "SKIP" feature but it is not working. Here is the Syntax I am using:





<surveypage QIRS1>


/ caption = "This questionnaire is concerned with how you evaluate the interpersonal relationships, in which you are currently engaged in." 


/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0) 


/ questions = [1=QIRS1]


/ skip = [if(checkboxes.QIRS1.response=="Not Applicable")surveypage.QIRS1followup]


</surveypage>



<surveypage QIRS1followup>


/ caption = "I find the relationship with my spouse...."


/ questions = [1=QIRS1a; 2=QIRS1b; 3=QIRS1c; 4=QIRS1d; 5=QIRS1e; 6=QIRS1f]


/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0) 


</surveypage>





<survey>


/ pages = (1=QIRS1)


<survey>


(above just an example)



It skips the followup page no matter what the answer is.


Please advise.


Thank you,


Amina


By Dave - 6/7/2013

Your syntax does not make sense. A /skip belongs (and applies) to the element it resides in, i.e., you cannot skip <surveypage QIRS1followup> with a /skip in <surveypage QIRS1>.


Please review the examples at http://www.millisecond.com/forums/Topic5461.aspx#5461.