Welcome to the LimeSurvey Community Forum

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

Set conditions while import question.

More
1 year 3 months ago #263133 by nitish_kumar
Hello all,

I'm importing questions with an API and want to define conditions on the questions.  
Is there any method or way to set conditions for my questions?
Version: LimeSurvey CE (5.6.56)

Please Log in to join the conversation.

More
1 year 3 months ago #263166 by tpartner
I'm assuming that you are importing a BASE 64 encoded .lsq file.

If you export a test question you will see a "relevance" tag in the .lsq file.

Code:
<relevance><![CDATA[Q3 == 'A1']]></relevance>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose