Welcome to the LimeSurvey Community Forum

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

[SOLVED] Last Option In Array (Numbers) (Checkboxes) Row Excludes All Others

  • mapage
  • mapage's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 3 months ago - 11 months 3 weeks ago #245206 by mapage
Please help us help you and fill where relevant:
Your LimeSurvey version:  LimeSurvey Community Edition   Version 6.1.8+230717 
Own server or LimeSurvey hosting: own server (Synology based)
Survey theme/template: Fruity Theme ( fruity )
==================
As the screenshot below, based on :
- a Table(Number) question using crosschecks answers,
- If the last option is checked by the user, all the previous checks on the same line are reset

 

I need to do exactly what explained  on the closed topic here :  forums.limesurvey.org/index.php/forum/ca...-excludes-all-others . The printscreen attached is in fact the import of the lsq attached in one of the answers that has the reply "tks it worked perfecty!".

Might be a version question or the fact that there is now a new template way of working... if someone could help, I'll be very happy :).

Thanks in advance and kind regards,
CR

Thanks a lot for your help
 
Last edit: 11 months 3 weeks ago by mapage.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #245209 by Joffm
Hi,
insted of a link to a long thread that started 9 years ago and covered several wishes, you should have provided a lss export of your survey (only this relevant question)

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • mapage
  • mapage's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 3 months ago #245210 by mapage

Hi,
insted of a link to a long thread that started 9 years ago and covered several wishes, you should have provided a lss export of your survey (only this relevant question)

Joffm 

Avec plaisir, the 2065 is mine and 3525.zip the original one !

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago - 1 year 3 months ago #245211 by Joffm
Please, neither provide lsq nor lsg exports.
Reasons:
These both exports are language sensitive. Meaning, you can't import them into a survey with a different base language.
So we have to guess the base language of your export, create a survey, create a group, finally to be able to import your export.
Furthermore these exports do not include the surveywide settings, which may be very important, too.

Therefore I wrote

you should have provided a lss export of your survey (only this relevant question)

Copy your survey, remove evewrything not related to your question and send it.

Help us to help you.

Joffm


Anyway:
Here you find the "old" script that was shown here for many times and at the end a new updated one 
[url] forums.limesurvey.org/index.php/forum/ca...-array-question-type [/url]

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 3 months ago by Joffm.
The following user(s) said Thank You: mapage

Please Log in to join the conversation.

  • mapage
  • mapage's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 3 months ago #245212 by mapage
Nothing to hide, I am working on a POC, here is the lss file.
Anyway thanks a lot for your time.

Please Log in to join the conversation.

  • mapage
  • mapage's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 3 months ago #245213 by mapage

Please, neither provide lsq nor lsg exports.
Reasons:
These both exports are language sensitive. Meaning, you can't import them into a survey with a different base language.
So we have to guess the base language of your export, create a survey, create a group, finally to be able to import your export.
Furthermore these exports do not include the surveywide settings, which may be very important, too.

Therefore I wrote

you should have provided a lss export of your survey (only this relevant question)

Copy your survey, remove evewrything not related to your question and send it.

Help us to help you.

Joffm


Anyway:
Here you find the "old" script that was shown here for many times and at the end a new updated one 
[url] forums.limesurvey.org/index.php/forum/ca...-array-question-type [/url]

Nice, I try it right away and keep posted.
 

Please Log in to join the conversation.

  • mapage
  • mapage's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 3 months ago #245214 by mapage
Your code is just fine @Jomm, thanks a lot for this.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #245218 by tpartner
Who's code? :)

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: mapage

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #245220 by Joffm
@tpartner,
yes, people do not read.

I wasn't sure if I should mention it additionally, but then I thought "It's written in the code - data-author='Tony Partner"'.

Whatever you do - it is wrong.

Cheers
Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • mapage
  • mapage's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 3 months ago #245227 by mapage
I am not fully aware of your communication but really I THANK YOU BOTH ! Tpartner as all the post I read from you are cool and nice and you Joffm as the solution you've lately posted was the good one.
Thanks to the kind and the evil one...hi,hi.
Merciiiii

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #245230 by holch
I guess the code from the link was from Tpartner, not Joffm. ;-)

Joffm linked to it, Tpartner wrote it.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose