Skip


Author
Message
Amina_Ben
Amina_Ben
Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)
Group: Forum Members
Posts: 20, Visits: 5

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



Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

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.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search