Have an idea?

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

Need to get Label value


I have the following code

var i=0;

    if(SSI_GetValue("QM6_r" + i + "_c1") && SSI_GetValue("QM6_r" + i + "_c2"))
        strErrorMessage = "You can't select this item in both columns";


 strErrorMessage = "You can't select " +SSI_GetValue("QM6_r" + i + "_c1") " in both columns";

the above statement returns 'You can't select 1 in both columns'

instead of '1' it should return 'Label' from the same question.
It is a multi select question.

Please help
asked Aug 20, 2013 by Abdul Bronze (2,630 points)

1 Answer

0 votes
You can use the SSI Script function Label() instead.
answered Aug 20, 2013 by Paul Moon Platinum (82,475 points)
ListLabel Error in for loop