Page 1 of 1

Condition in CAPI Does not Work in CSPro 7.7 for me

Posted: February 14th, 2022, 12:34 am
by munirmdee1
Hi CSPro Users,

I'm developing an application here using CSPro 7.7, I' facing a small problem.
Its about putting a condition in CAPI Questions, I have a question which is "How long have you been living in this area?", now I would like it to change to "How long has she/he been living in this area?" only if a variable current_user <>curocc().

So if current_user = curocc() the question should be "How long have you been living in this area?"
And if current_user <> curocc() the question should be "How long has she/he been living in this area?"

But those condition don't work, I tried to troubleshoot but I couldn't get a solution, I need help there, but when I was using CSPro 7.6 those condition worked fine. Soon I moved to CSPro 7.7 they don't work.

Is there something new with version 7.7 or something is wrong with my syntax?

Thanks in advance.

Re: Condition in CAPI Does not Work in CSPro 7.7 for me

Posted: February 14th, 2022, 12:00 pm
by sherrell
Hi Munir,

Are you using the January 12th release of 7.7? If so, this was a bug (see this post: viewtopic.php?f=1&t=4777)

We have since corrected it with the Feb 7th release of 7.7.1, which you can download here: https://www.csprousers.org/downloads/

If you still encounter this problem in 7.7.1, then please send us your app so we can test it out.

thnx, Sherrell