Page 1 of 1

Using getlabel() in Question Text

Posted: October 4th, 2018, 4:01 pm
by Hong
Dear All,
Can I use getlabel() function in Question Text? I wrote %getlabel(PROVINCE,PROVINCE)% but it did not work. How should I code when I want to use getlabel()in a Question Text?
Thank you.
Hong

Re: Using getlabel() in Question Text

Posted: October 4th, 2018, 4:18 pm
by josh
getlabel() does not work in question text. Instead, you can copy the result of the call to getlabel into a string variable and use that variable in the question text or you can call a user defined function in the question text and have that function call getlabel().

http://www.csprousers.org/help/CSPro/cr ... tions.html

Re: Using getlabel() in Question Text

Posted: October 16th, 2018, 11:05 am
by Hong
Thank you very much, Josh