Hi,
I'm working on constructed list that should display product name on the survey based on another constructed list where product is randomized. I have to label two products from the list but upon checking on admin module, the script below does not return value of the second member of another constructed list. It only shows the value of the first member of the list.
Begin Unverified Perl
if(VALUE("RandomizedProduct",2)==1)
{
return "ProductName1";
}
if(VALUE("RandomizedProduct",2)==2)
{
return "ProductName1";
}
if(VALUE("RandomizedProduct",2)==3)
{
return "ProductName2";
}
End Unverified
Thanks!