Welcome to the LimeSurvey Community Forum

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

Defining conditions error

  • RNAman
  • RNAman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #191808 by RNAman
Defining conditions error was created by RNAman
Hello.

When I am trying to define a condition, Limesurvey returns the error below:

data-onclick="(function() { document.getElementById("deleteallconditions").submit(); })" class="btn btn-warning pull-right condition-header-button" onclick="return false;"

Any idea how to fix it?

Thank you in advance for your help.

Panagiotis
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #191816 by tpartner
Replied by tpartner on topic Defining conditions error
That looks more like attributes for an element than an error message.

What LimeSurvey version are you using?

Can you explain exactly where you see this and provide screenshots?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • RNAman
  • RNAman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #191827 by RNAman
Replied by RNAman on topic Defining conditions error
I am using LimeSurvey, 3.17.9+190731.

I am defining a condition in a question, and next i am trying to save it. Then, i receive the message below:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #191831 by tpartner
Replied by tpartner on topic Defining conditions error
I cannot reproduce that, I suspect you may have some invalid HTML in the question or answers.

Can you attach a small sample survey (.lss file) containing only those questions?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • RNAman
  • RNAman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago - 4 years 3 months ago #191842 by RNAman
Replied by RNAman on topic Defining conditions error
The question containing the condition.

File Attachment:

File Name: limesurvey..._430.lsq
File Size:4 KB
Last edit: 4 years 3 months ago by RNAman.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #191844 by tpartner
Replied by tpartner on topic Defining conditions error
Can you attach a small sample survey (.lss file) containing only those questions?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
4 years 3 months ago - 4 years 3 months ago #191847 by jelo
Replied by jelo on topic Defining conditions error

RNAman wrote: The question containing the condition.

File Attachment:

File Name: limesurvey..._430.lsq
File Size:4 KB


If you are asked for a .lss file, you might send a lss file. Attaching an LSQ file is causing additonal work for everyone else. Opening the lsq file to lookup the language. Creating a new survey with the identical language. Importing lsq file. And still don't have the same survey as you have.

So you might invest a few minutes and provide a lss export.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 4 years 3 months ago by jelo.
The following user(s) said Thank You: tpartner
The topic has been locked.
  • RNAman
  • RNAman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #191852 by RNAman
Replied by RNAman on topic Defining conditions error
This is me lss file.

What I am trying to do:

The question "EISAGOGI", is a Yes/No question. When someone select 'Yes', I want to go the the question ''GP1', but when 'No' is selected i want to go to the question 'EKSAGOGI'.

Thank all of you for your help.

File Attachment:

File Name: limesurvey...2899.lss
File Size:166 KB
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago - 4 years 3 months ago #191853 by Joffm
Replied by Joffm on topic Defining conditions error
Hi,
just set the correct relevance equation to your groups.

Your last group that contains EKSAGOGI has the relevance equation EISAGOGI=="A2", all other EISAGOGI=="A1".

Joffm

I never use the condition builder (in my opinion it was introduced long time before Expression Manager and never removed).
Expression Manager is much more flexible and easier to use.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 3 months ago by Joffm.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose