Exclusive option for version 1.92

More
5 years 4 months ago #79929 by aficek
aficek replied the topic: Exclusive option for version 1.92
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.

Please Log in to join the conversation.

More
5 years 4 months ago #79956 by Mazi
Mazi replied the topic: Exclusive option for version 1.92
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'"

Please Log in to join the conversation.

More
5 years 4 months ago #79969 by DenisChenu
DenisChenu replied the topic: Exclusive option for version 1.92

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #79989 by aficek
aficek replied the topic: Exclusive option for version 1.92
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: 5 years 4 months ago by holch.

Please Log in to join the conversation.

More
5 years 4 months ago #80095 by Mazi
Mazi replied the topic: Exclusive option for version 1.92
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'"

Please Log in to join the conversation.

More
5 years 4 months ago #80129 by aficek
aficek replied the topic: Exclusive option for version 1.92
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.

Please Log in to join the conversation.

More
5 years 4 months ago #80207 by Mazi
Mazi replied the topic: Exclusive option for version 1.92
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'"

Please Log in to join the conversation.

More
5 years 4 months ago #80221 by aficek
aficek replied the topic: Exclusive option for version 1.92
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?

Please Log in to join the conversation.

More
5 years 4 months ago #80223 by holch
holch replied the topic: Exclusive option for version 1.92
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.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
5 years 4 months ago #80225 by Mazi
Mazi replied the topic: Exclusive option for version 1.92

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'"

Please Log in to join the conversation.

More
5 years 4 months ago #80229 by TMSWhite
TMSWhite replied the topic: Exclusive option for version 1.92
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.

Please Log in to join the conversation.

More
5 years 4 months ago #80242 by aficek
aficek replied the topic: Exclusive option for version 1.92
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.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now