Welcome to the LimeSurvey Community Forum

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

Change question code value in if condition

  • fahadmunir32
  • fahadmunir32's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #130009 by fahadmunir32
Change question code value in if condition was created by fahadmunir32
how to change question code value in if condition
i am not sure

if(q1=='Y', q2='Y',q2='N')

its not working for me in question type equation
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #130019 by DenisChenu
Replied by DenisChenu on topic Change question code value in if condition
No,

Best way (and the only one with EM ?)
Code:
{Q2=if(q1=='Y','Y','N')}
Only in an Equation question type.

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 topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose