+xHi Dave,
It's me again, I have one more question is it possible to give a pop up message with survery abort? if yes, how Can I do it?
I need "Sorry, You can't take part in this survery"
thanks
You can't have a pop-up message; you can /branch to a <surveypage> that conveys the message before aborting.
<survey 3questions>
/ pages = [1=questionpage]
/ showpagenumbers = false
/ showquestionnumbers = false
/ showbackbutton = false
</survey>
<surveypage questionpage>
/ questions = [1=q1; 2=q2; 3=q3]
/ branch = [
if ((radiobuttons.q1.response + radiobuttons.q2.response + radiobuttons.q3.response) >= 2) surveypage.noteligible;
]</surveypage>
<surveypage noteligible>
/ ontrialend = [
script.abort();
]/ caption = "Sorry, you cannot take part in this survey. Press the NEXT button to exit."</surveypage>
<radiobuttons q1>
/ caption = "Question 1"
/ options = ("Yes", "No")
/ optionvalues = ("1", "0")
</radiobuttons>
<radiobuttons q2>
/ caption = "Question 2"
/ options = ("Yes", "No")
/ optionvalues = ("1", "0")
</radiobuttons>
<radiobuttons q3>
/ caption = "Question 3"
/ options = ("Yes", "No")
/ optionvalues = ("1", "0")
</radiobuttons>