ERROR(CAPI Text)

Discussions about CSEntry
Post Reply
mgtoukam
Posts: 29
Joined: March 24th, 2015, 4:23 am

ERROR(CAPI Text)

Post by mgtoukam »

Hi All

I have the following message error in the capi Text

ERROR(CAPI Text, CONDITIONEMENT, English): The question text fill must consist of a single numeric or string expression

In the CAPI text, we use the getvaluelabel() fonction using the ~~getvaluelabel()~~.

Who have the same issue and how does he resovlt it.

Regards.
Arjun Brti
Posts: 49
Joined: October 15th, 2020, 3:40 am

Re: ERROR(CAPI Text)

Post by Arjun Brti »

Hi mgtoukam,

Try to using question/variable name ~~getvaluelabel(Put the question name here which valuelabel do you want to display)~~. for example ~~getvaluelabel(Q01)~~.

Thank you.
aaronw
Posts: 566
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: ERROR(CAPI Text)

Post by aaronw »

This question was answered through email. The issue was that HTML formatting had split variable reference "~~i~~" into two parts:
format-code.PNG
format-code.PNG (3.67 KiB) Viewed 996 times
Once this was corrected the code compiled:
improved.PNG
improved.PNG (2.3 KiB) Viewed 996 times
Post Reply