Welcome, Guest
Username: Password: Remember me

TOPIC: Conditions not applying to all pages/groups

Conditions not applying to all pages/groups 3 years 2 months ago #56129

  • LISpeedyG
  • LISpeedyG's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi,
I have a number of questions in groups using Group-by-Group format. I am trying to use some answers from the first group to display/hide questions in subsequent goups on different pages. In testing, the applied conditions only function if the answer being used for the condition is on the same page as the questions being evaluated by the conditional statement.

I am currently using Version 1.87 (8338) and the survey is not anonymous. Is this behaviour due to the fact that my survey is not yet live? Or do I need to add other functionality with JavaScript to carry logic between pages?

Any help would be appreciated.

Thank You in advance,
Gus
The administrator has disabled public write access.

Re: Conditions not applying to all pages/groups 3 years 2 months ago #56135

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 5869
  • Thank you received: 719
  • Karma: 223
Hello,
LISpeedyG wrote:
I am currently using Version 1.87 (8338) and the survey is not anonymous. Is this behaviour due to the fact that my survey is not yet live? Or do I need to add other functionality with JavaScript to carry logic between pages?

By memory (actual version is 1.90), condition work if question aren't on the same page.

Can you test with the survey activated ?

Can you updgrade LimeSurvey to the last version ?
The administrator has disabled public write access.

Re: Conditions not applying to all pages/groups 3 years 2 months ago #56140

  • LISpeedyG
  • LISpeedyG's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
I cannot upgrade at the moment (likely in a couple of months). I have been waiting to have the ability to attach files (I thought iwas was to be encorporated in the 1.91 version). But, I can try to develop a new test survey to see if it works once published.
Last Edit: 3 years 2 months ago by LISpeedyG. Reason: Forgot a reason for wating on upgrade.
The administrator has disabled public write access.

Re: Conditions not applying to all pages/groups 3 years 2 months ago #56144

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2450
  • Thank you received: 256
  • Karma: 94
There must be something wrong with your installation. conditions should work correctly (and over varios questions / groups) even in 1.87.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re: Conditions not applying to all pages/groups 3 years 2 months ago #56146

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
Please check if your conditions are set correctly. There are no known problems with condition neither at 1.87 nor at 1.90.

You can test if this is fixed at the latest version by testing our online demo at demo.limesurvey.org/admin(external link) which always runs the latest Limesurvey version.
Username: admin
Password: test
If you can reproduce the problem there please report back.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Conditions not applying to all pages/groups 3 years 2 months ago #56156

  • LISpeedyG
  • LISpeedyG's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
You folks were correct.. I switched to a standard (un-mofified) template and it worked correctly. Apparently there was some JavaScript code in the template I was using that was affecting this feature.

Thank You.
The administrator has disabled public write access.

Re: Conditions not applying to all pages/groups 3 years 2 months ago #56179

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.130 seconds
Donation Image