Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Exclusive option for version 1.92

Exclusive option for version 1.92 4 years 7 months ago #79929

  • aficek
  • aficek's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
ok, so i tried the exclusive option in version 1.91 and it worked just fine. tried the exact same thing in 1.92 - started with a new survey and new question, and also imported the question, but it didn't work.

do you think there's a bug or something? let me know if you need more information.
The administrator has disabled public write access.

Exclusive option for version 1.92 4 years 7 months ago #79956

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
The behavior of the exclusive option has chnaged from 1.91 to 1.92, e.g. at 1.91 the other options were disabled while at 1.92 they aren't shown anymore.

I prefered the previous method of disabling the other options. What do you think?

If you have any problems, you can test if this is fixed at the latest version by testing our online Demo which always runs the latest Limesurvey version.
Username: admin
Password: test
If you can reproduce the problem there please report back and post a link to an activated sample survey that uses the default template.

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

Exclusive option for version 1.92 4 years 7 months ago #79969

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Mazi wrote:
I prefered the previous method of disabling the other options. What do you think?
Discussion is here.
bugs.limesurvey.org/view.php?id=5943

Actual solution:
- Change a lot of code of EM for exclusive option ( add a $_SESSION var).
- Remove exclusive option from EM (easy in JS, need some work in PHP i think).

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 (use private message).
The administrator has disabled public write access.

Exclusive option for version 1.92 4 years 7 months ago #79989

  • aficek
  • aficek's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
the exclusive option worked in your online Demo.

here's a link to the survey (only 2 questions of it). for both questions, when you click the don't know option, you shouldn't be able to select the others.

[LINK DELETED BY MODERATOR ON REQUEST]
Last Edit: 4 years 7 months ago by holch.
The administrator has disabled public write access.

Exclusive option for version 1.92 4 years 7 months ago #80095

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
Thanks for the link, Denis. I posted my comment there.

@aficek: What string did you set at the advanced question settings for the exclusive option?

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

Exclusive option for version 1.92 4 years 7 months ago #80129

  • aficek
  • aficek's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
in the case of this question, i used "6", which is the answer code for Don't Know. for another question, i used "SQ012" because that is currently the default answer code for the Don't Know in that question.
The administrator has disabled public write access.

Exclusive option for version 1.92 4 years 7 months ago #80207

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
You just have to add the answer code there, then it should work fine. If it doesn't, please open a ticket at the Bugtracker and...
  1. Give as much information as possible
  2. Attach your survey. You can mark your ticket "private" so that only the developers will be able to take a look at it.
  3. Provide step-by-step instructions how to reproduce the problem.
  4. If possible/helpful please provide screenshots

Afterwards please post the link to the Bugtracker so we can follow the progress.

Thanks!

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

Exclusive option for version 1.92 4 years 7 months ago #80221

  • aficek
  • aficek's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
any idea why i would be getting this error when trying to submit the bug tracker report? i have never submitted a bug tracker before. all fields are completed in the form i'm submitting.

APPLICATION ERROR #2800
Invalid form security token. Did you submit the form twice by accident?
The administrator has disabled public write access.

Exclusive option for version 1.92 4 years 7 months ago #80223

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5446
  • Thank you received: 814
  • Karma: 240
Hi! I deleted the link as requested. You can of course edit your own posts and thus delete the link when you feel it is not necessary anymore. The option "edit" you usually find at the bottom right of your post.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

Exclusive option for version 1.92 4 years 7 months ago #80225

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
aficek wrote:
any idea why i would be getting this error when trying to submit the bug tracker report? i have never submitted a bug tracker before. all fields are completed in the form i'm submitting.

APPLICATION ERROR #2800
Invalid form security token. Did you submit the form twice by accident?
That might happen if you have multiple bug tracker pages opened or your session expires because of having been inactive for too long when reporting a bug .

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

Exclusive option for version 1.92 4 years 7 months ago #80229

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 84
  • Karma: 37
aficek-

It's working perfectly for me, using the default template, even though you re-use same variable name (race) for both questions.

What might be confusing is that when you select an exclusive option, it hides the other options. If you uncheck it, you see the other options again. The goal of this was that if person wants to select a combination of 3 races, and accidentally clicks Don't Know, and then unclicks it, they don't have to re-enter their other data (it is hidden, but not deleted). However, if their final answer is "Don't Know", then anything else they checked is irrelevant, so is not saved in the database.

There is a separate bug to give people the option of reverting to the 1.91+ behavior where you still see all the options, but the non-exclusive ones are blanked.

If that isn't the behavior your are seeing, there is likely something wrong with your custom template.
The administrator has disabled public write access.

Exclusive option for version 1.92 4 years 7 months ago #80242

  • aficek
  • aficek's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
would updating the PHP version matter? our current version is 5.2.17.

we have tried the exact same thing using the default template. i do realize how the exclusive option should work in that the rest of the answers will become hidden when the exclusive option is selected.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.326 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form