Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

´page time` not a valid option

I'm trying to implement a quality terminate based on the page time.

For that I've added a skip logic to my last question, which would redirect to the quality terminate page if respondents take less than 10 minutes for the survey. However when trying to test the survey I'm being told the following: "Skip number 1 has invalid logic. 'PageTime' is not a valid function."

I've used the following custom skip logic:

Skip To: Quality Terminate
Custom  If: PageTime(1,35)<600

Can someone help me with this? Thanks a lot!
asked Aug 1, 2020 by Lasse

1 Answer

0 votes
Hi Lasse,

In the skip logic condition add below:

Begin Unverified Perl
my $time = 0;
for (my $pagenum=1;$pagenum<=35;$pagenum++){$time += GETVALUE('sys_pagetime_'.$pagenum);}
return $time < 600;
End Unverified

Post Skip to : Quality Terminate

Rahul Mittal
answered Aug 1, 2020 by Rahul Mittal Gold (11,635 points)
edited Aug 1, 2020 by Rahul Mittal