Welcome to the LimeSurvey Community Forum

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

Total Awareness - Auto punch responses

  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203027 by scene143
Total Awareness - Auto punch responses was created by scene143
Hi All,



I have Spont Q1 (Multi-Select option) & Aided Q2 (Multi-Select Option) I want to create Total Awareness in this data.

Can somebody help how to create the same anyway i am going to hide this Total aware column from the survey.

I will use this Total Aware column in filter for few more following question.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203031 by Joffm
Replied by Joffm on topic Total Awareness - Auto punch responses
1. Create a hidden multiple question (MT= multiple total) with the same codes of spontaneous (Q1) and aided (Q2).
Aided will habe the array exclusion filter of Q1
2. Create a question of type "equation" where you set the items.
{MT_SQ001=if(Q1_SQ001=="Y" or Q2_SQ001=="Y","Y","")}
{MT_SQ002=if(Q1_SQ002=="Y" or Q2_SQ002=="Y","Y","")}
{MT_SQ003=if(Q1_SQ003=="Y" or Q2_SQ003=="Y","Y","")}
...

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago - 3 years 8 months ago #203037 by scene143
Replied by scene143 on topic Total Awareness - Auto punch responses
Thank for your help...

I tried this and i got what I want :-) but MT question is appearing in the survey , i tried to hide this then my Q4 is not appearing in the survey.

For your reference, I attached that file It would be great if you help me on this.

(Just a summary what i did)

1. I created Q1 & Q2 multichoice with same codes ....

2. Created MT field for Auto punch Q1/Q2 values.

3. Created Equation in question type - field name Dum ..

4. I included MT in the Array for Q4 .

If i preview the survey MT is appearing but i want to hide the same.

Do we have any option to hide
Last edit: 3 years 8 months ago by scene143. Reason: still not able to get
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203044 by tpartner
Replied by tpartner on topic Total Awareness - Auto punch responses
Use a CSS class "hidden".

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203049 by scene143
Replied by scene143 on topic Total Awareness - Auto punch responses
Thank you for the reply .

I tried that too but still MT is appearing in the survey (I have given CSS "hidden"
in CSS class(es) field)

Can you please help me on this. attached the survey FYR.
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203050 by scene143
Replied by scene143 on topic Total Awareness - Auto punch responses
Attachement
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203060 by scene143
Replied by scene143 on topic Total Awareness - Auto punch responses
Sir have one more query sorry :-)

i tried this syntax in "CENTRES=="2" OR CENTRES=="4"" in editsubquestion > relevence equation column

But its not coming correct can you please help me to how to give 2 centres together in editsubquestion>relevance equation column
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203063 by tpartner
Replied by tpartner on topic Total Awareness - Auto punch responses
What LimeSurvey version are you using?

I see no survey attachment, only a question.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203069 by scene143
Replied by scene143 on topic Total Awareness - Auto punch responses
Hi,

I am using Version 3.22.25.

Attaching the file for "MT" appearing issue

Regards
Sara
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203077 by tpartner
Replied by tpartner on topic Total Awareness - Auto punch responses
Two problems...

1) Q4 needs to be in a separate group. Joffm's equations only get fired on page load and submit.

2) You have the wrong CSS class name. I said "hidden", not "CSS "hidden"".



Sample survey attached:

File Attachment:

File Name: limesurvey...9(1).lss
File Size:28 KB

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203080 by scene143
Replied by scene143 on topic Total Awareness - Auto punch responses
Thank you very much :-)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203086 by Joffm
Replied by Joffm on topic Total Awareness - Auto punch responses
Hi, Sara,
what I wrote was the answer to "array filter".
If the question Q4 is "multiple" you may forget everything about hidden questions and equations.
In this case use "subquestion relevance"
Q4_SQ001: "Q1_SQ001=="Y" or Q2_SQ001=="Y"
...

My approach is only necessary if the Q4 question is "single", as it is "Q4 Favourite". So you expect a single answer.

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