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

More
3 years 7 months ago #107392 by Bart01
Bart01 created the topic: upgrade 2.05: survey prefills answers (caused by using "=="??)
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
3 years 7 months ago #107396 by DenisChenu
DenisChenu replied the topic: upgrade 2.05: survey prefills answers (caused by using "=="??)
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).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: Bart01

Please Log in to join the conversation.

More
3 years 7 months ago #107633 by Bart01
Bart01 replied the topic: upgrade 2.05: survey prefills answers (caused by using "=="??)
** solved **

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!