Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

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

  • Bart01
  • Bart01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Bart01
The topic has been locked.
  • Bart01
  • Bart01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #107633 by Bart01
** solved **
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose