upgrade 2.05: survey prefills answers (caused by using "=="??)

More
2 years 11 months ago #107392 by Bart01
syntax used in 1.92 was.
{if(VQ12_SQ001.NAOK=="Y",if(countif('A1',V2004a_USP1_1.NAOK,V2004a_USP2_1.NAOK,V2004a_USP3_1.NAOK,V2004a_USP4_1.NAOK,V2004a_USP5_1.NAOK,V2004a_USP6_1.NAOK,V2004a_USP7_1.NAOK,V2004a_USP8_1.NAOK,V2004a_USP9_1.NAOK,V2004a_USP10_1.NAOK,V2004a_USP11_1.NAOK,V2004a_USP12_1.NAOK)>0,'','You chose XXXXX.'),'')}

This equation is used further down the survey, but it looks like it causes prefilling answers.

The double "==" cannot be changed, since changing to single "=" generates a syntax error.
Attachments:

Please Log in to join the conversation.

More
2 years 11 months ago #107396 by DenisChenu
Hi,

You must not use = :
TIP0 : Relevance equation: ((VQ1_SQ001.NAOK="Y") AND (VQ1_SQ002.NAOK="Y")) You have to replace with
((VQ1_SQ001.NAOK=="Y") AND (VQ1_SQ002.NAOK=="Y"))

Same in VQadres and surely some other.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: Bart01

Please Log in to join the conversation.

More
2 years 11 months ago #107633 by Bart01
** solved **

Please Log in to join the conversation.