Have an idea?

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

Survey question asked based conditionally on conjoint exercise answers

Hi,  Our client would like to add a question to our survey immediately following the conjoint exercise.  It is a question asked only to those who chose "none" in 80% of the conjoint sets they were shown, asking for further information.  Is this even possible?  If so, where might I find instructions/examples on how to program it?  Thank you!
asked May 6, 2015 by llblome (295 points)

1 Answer

+1 vote
Here's an idea ...

Create a new variable in your Pass-In Fields and call it "NoneCounter". Define it as a whole number.

I'm making a few assumptions here. Assume 10 conjoint pages (Q1-Q10) are displayed. Also assume your "None" code is defined as code 5. After the 10 conjoint pages have been answered, pop this Perl script into the footer of the next page ...
[%Begin Unverified Perl
  
my $i=1;
my $counter=0;
  
for($i=1; $i<=10; $i++)
 {
  if (VALUE("Q".$i)==5)
   {  
    $counter=$counter+1;
   }  
 }
  
 SETVALUE("NoneCounter",$counter);
 
End Unverified%]

The NoneCounter variable counts the number of "None" selections across the 10 pages. Within your skip condition, use the condition "NoneCounter<8". I just gave it a test drive and it works a treat.
answered May 6, 2015 by Paul Moon Platinum (74,405 points)
Thank you Paul!
...