Welcome to the LimeSurvey Community Forum

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

Array (5 Point Choice) - hiding subquestions

  • csbalog
  • csbalog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #201757 by csbalog
Hello, I'd put many questions to a Team, to evaluate the Other members.
Member list is in a Label Set I'd repeat in every question.

Questions are Arrays, list of members (Their names) are in rows (SQxx, subQuestions), rating in 5 columns this case.

(For dosens of questions), I'd like to find a way to hide the row, where the member's name is the actual participiants name (e.g.{TOKEN:xName}).

Any idea, pls!
Thank you and for your time and for your preparation time... in advance.
Csaba
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #201758 by Joffm
Hi,
I should say:

Use subquestion relevance:
Q1_SQ001!=TOKEN:LASTNAME
...

Of course you have to adapt if you display names in a different way.
E.g. "firstname lastname" -> Q1_SQ001!=join(TOKEN:FIRSTNAME," ",TOKEN:LASTNAME)

Or if you stored the names in an attribute:
Q1_SQ001!=TOKEN:ATTRIBUTE_1

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • csbalog
  • csbalog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #201762 by csbalog
Replied by csbalog on topic Array (5 Point Choice) - hiding subquestions
THX, Team-member names are listed in subquestions, as subquestion "texts". ({xQ.xSubQ.question} ....I think).
Furthermore I'd like to EXCLUDE a row from the Array question, where my participiant name is equal to the questions team-member's name.
It is to avoid self-rating.
THX again.
The topic has been locked.
  • csbalog
  • csbalog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #201763 by csbalog
Replied by csbalog on topic Array (5 Point Choice) - hiding subquestions
Pls. note it shall be an Array (5 Point Choice)
(Team-member names are listed in subquestions, as subquestion "texts". ({xQ.xSubQ.question} ....I think).
Furthermore I'd like to EXCLUDE a row from the Array question, where my participiant name is equal to the questions team-member's name.
It is to avoid self-rating.)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #201765 by Joffm
That is what I told you.

Joffm

And please send a lss export of your survey.
And mention which LS version you are using.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • csbalog
  • csbalog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #201769 by csbalog
Replied by csbalog on topic Array (5 Point Choice) - hiding subquestions
It is very kind of you, thank you!
LS version is the newest stabile 3.x,
but I'm too paralytic to find the way to upload my lss. ...On the way yet.
B.R.!!!
Csaba
The topic has been locked.
  • csbalog
  • csbalog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #201770 by csbalog
Replied by csbalog on topic Array (5 Point Choice) - hiding subquestions
OOps, read the screen :(
The topic has been locked.
  • csbalog
  • csbalog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #201802 by csbalog
Replied by csbalog on topic Array (5 Point Choice) - hiding subquestions
Correction: So as I've read the screen and found the "attachments" button, here I attach the lss.
Upgraded LS Version 4.3.1+200623.

A workaround could be to use Array filter, based on a "Multiple choice" question type, if the actual participiants name could be unchecked via EM expression or Javascript.

Do you have any idea how to control the Multiple choice subquestions (check/uncheck)?

Thank you in advance!!

File Attachment:

File Name: limesurvey...5(2).lss
File Size:49 KB
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #201814 by DenisChenu
Replied by DenisChenu on topic Array (5 Point Choice) - hiding subquestions

Joffm wrote: Hi,
Or if you stored the names in an attribute:
Q1_SQ001!=TOKEN:ATTRIBUTE_1

Maybe

Q1_SQ001.shown!=TOKEN:ATTRIBUTE_1 ?

:)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #201815 by Joffm
Hi,
I really do not see your problem.

I created a participants table with one additional attribute that contains the full name..

firstname;lastname;email;attribute_1
Disco;Dingo;aa@bb.com;Disco Dingo
Cosmic;Cuttlefish;aa@bb.com;Cosmic Cuttlefish
Artful;Aardvark;aa@bb.com;Artful Aardvark
Zesty;Zapus;aa@bb.com;Zesty Zapus
Yakkety;Yak;aa@bb.com;Yakkety Yak
Wily;Werewolf;aa@bb.com;Wily Werewolf
...


Now my question contains all names AND the subquestion relevance that the own name is not displayed.


And here the result:





You see the own name is not displayed.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • csbalog
  • csbalog's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #201819 by csbalog
Replied by csbalog on topic Array (5 Point Choice) - hiding subquestions
Thank you!
Since a lot of repeating tables would have to list 140 names, I wanted to avoid having to copy the names in quotation marks in the "Relevance" ("Contition") field.

That's why I wanted to use e.g. the "Qx_SQy.question" attribute, but it does not work in this field.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #201842 by Joffm

I wanted to avoid having to copy the names in quotation marks in the "Relevance" ("Contition") field.


Well, this is something you prepare in EXCEl by concatenating.

Yes, Q1:SQ001.question doesn't work.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose