Welcome to the LimeSurvey Community Forum

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

Search Results (Searched for: punch)

  • holch
  • holch's Avatar
Yesterday 21:39
Here a working example (with some issues that I really don't understand, need to do more research),

1. First I put the equation in the question text of the multipunch question. This worked, with the array filter, but the subquestions were not ticke.
2. Then seperated it into an equation question in the first question group and now ALL subquestions were ticked always and the array filter would also show all answer options in the last single punch question (which is corretly wrong).
3. Then I moved the equation question into the second group and now all subquestions are still ticked, but the array filter now wrongly works correctly... lol

So it works, but with some odd behaviour. Maybe someone eles understands why? Maybe a bug in Limesurvey? Because I should be able to "tick" the answers of the multipunch question correctly via equation. But it either shows all ticked or none ticked. Weird.
  • holch
  • holch's Avatar
Yesterday 21:15
However, looking at your LSS file, I probably would rather create two questions for the academic background part, one for campus A, another for campus B. It is the easiest and in my opinion cleanest way.

Also, G01Q02 seems to be completely irrelevant for this issue, or am I missing something?

But here an example:

You'll create a mutlipunch question that you will hide later, to be able to use relevance equation for the items. So via expression you "tick" the boxes in this multipunch question based on whether respondents have chosen location A or B.

Then you create a single punch question with exactly the same items and exactly the same answer codes as the subquestion codes in the previous question and set an Array filter on the previous question.
  • holch
  • holch's Avatar
Yesterday 20:54
OK, all Single Punch requires a little workaround, because there is no such thing as answer option relevance, like there is subquestion relevance.

So you have a couple of options:

1. Quick and dirty: Use a multipunch question and limit the number of responses to 1. Works like a single punch question this way, can use subquestion relevance. But it still looks like a multipunch question with the checkboxes compared to the radio buttons of single punch questions.

2. use a hidden multipunch question to "collect" the answers from the two single punch questions and use the array filter to show/hide the respective answers in the last single punch question.
  • bflow-unb
  • bflow-unb's Avatar
Yesterday 13:11
I've attached a simplified version of what I'm working on.

We want everything to be single punch and ideally Question 3 should only show certain options based on what was chosen for an answer in Questions 1 and 2.
  • holch
  • holch's Avatar
Yesterday 00:45
Your request gives the impression that the first questions are single punch and the 3rd is multipunch, not an array / matrix. So that's what Joffm gave the answer for.

As Joffm says, if it ain't so, show us what the actual survey looks like (only the 3 relevant questions) by providing a LSS file (not LSQ or LSG). Make a copy of your survey, throw everything out that isn't relevant for the issue and export it as LSS.
  • rajkumar_dms
  • rajkumar_dms's Avatar
29 Apr 2024 22:16
For multi punch question how to show the selected subquestion text in the next question
  • holch
  • holch's Avatar
29 Apr 2024 22:07 - 29 Apr 2024 22:08
That is the problem when you don't explain things in detail.

So remember that multi punch questions don't have answer options but subquestions?

This is why you have to call the "question text" (which in this case is actually the subquestion text.

{Q1_A.question}

By the way, with {Q1} does pipe the answer code, no the answer text. That would be {Q1.shown} for a single punch question.
  • holch
  • holch's Avatar
29 Apr 2024 20:59
multi punch questions do not have answer options, but subquestions.

So for each answer option / subquestion you need to check if it has been checked or not, e.g. via Q1_A=="Y".

Depending on your construct (unfortunately your explanation isn't very clear) you could also use the array filter.
  • Joffm
  • Joffm's Avatar
22 Apr 2024 18:12
Hi,
1. An online survey is different from a paper-pencil-survey.
Feel free to read this
 

File Attachment:

File Name: surveyfrie...4-22.zip
File Size:977 KB


2. Of course you can do that.
Use the appropiate question type (multiple numerical input)

BUT: You used the wrong type of "bootstrap-buttons"
Use the "single punch" button!
   


And with this correct button the css is like this
Code:
<style type="text/css">
@media (min-width: 769px) {
  .myOther .answer-item { 
      width: 17%; 
      margin-left:83%; 
  }
}
</style>

You see that I used a custom css class "myOther".
This is to not affect other elements on the same page.

Here the survey (only group(s) MODRum and only the first filled.
 

File Attachment:

File Name: limesurvey...7155.lss
File Size:182 KB

The rest - up to you.

Joffm





 
  • holch
  • holch's Avatar
22 Feb 2024 14:44
Replied by holch on topic Scoring and Reporting
Yes, "hidden equation questions" are just that: equation questions, that are hidden. :-) You can use "always hide this question" from the GUI in this case, it will still calculate everything just fine.

Howe to check selected tick boxes. Two things help you there: The logic file will show you how to address the question and in this case subquestion.

usually it is something like that:
Code:
Q3_SQ003

If you use {Q3_SQ003} in a text display question you can easily see the output. Activating the survey, fill it and then have a look at the response table also gives you a good idea how things are stored in the database.

In the case of multipunch questions it is a "Y" if selected and empty if not selected.


So to check if a specific subquestion in a multipunch question has been checked you can use something like:
Code:
Q3_SQ003=="Y"

So you check if subquestion 3 of question 3 is "Y" and go from there.
  • holch
  • holch's Avatar
16 Feb 2024 11:52 - 16 Feb 2024 11:55
Replied by holch on topic Scoring and Reporting
Multipunch questions are strange when it comes to assessment values. They simply apply 1 point per ticked checkbox, afaik.

You'll need to calculate your score for 5his question in a hidden equation question I guess. 
  • BITCNI
  • BITCNI's Avatar
31 Jan 2024 17:46
Replied by BITCNI on topic Scoring and Reporting
Hello, again.

I've enabled the Scoring feature now, and I've gotten a document from the person who manages this that outlines the weights for each question.  For the multipunch questions, they get a score for each one, eg, 0.7 per answer selected.  So, for the entire question, they could potentially score 3.5.

Any question that has a score will be included, but TBH, the whole Report should have every question and answer, along with the final score and comment. :)
  • Joffm
  • Joffm's Avatar
26 Jan 2024 18:38
Replied by Joffm on topic Scoring and Reporting
@holch, thanks for clarifying "multipunch".
I am so used to this words (single punch, multi punch) that it sometimes just happens.

Well,,

Would you like me to go through and try to remove the scoring that someone added

There is nothing to "remove" because there is nothing inserted yet.

You should change the answer option codes, as I showed in my first answer.
Either use the codes according to the desired weight, or
if you want to use negative weights or equal weights for two or more answer options
use assessment values.

And which questions have to be included in the scoring?

Joffm
 
  • holch
  • holch's Avatar
26 Jan 2024 15:24 - 26 Jan 2024 15:27
Replied by holch on topic Scoring and Reporting
"multipunch questions" --> you can select more than one answer item. and this is rather a term used in the research industry, than a specific Limesurvey term. Actually it is NOT a Limesurvey term, as these type of questions are never called this in Limesurvey. But "multipunch" is clearer than "multiple choice", which is a little ambigious and is often used for "multi punch" questions, or for single choice questions where you can choose one among multiple answers.
  • BITCNI
  • BITCNI's Avatar
23 Jan 2024 17:05 - 23 Jan 2024 17:07
Replied by BITCNI on topic Scoring and Reporting
I'm so sorry, but I didn't actually code anything. I think that someone tried to do this last year, but I didn't realize they did it in the survey I downloaded and attached. My apologies again.

The Survey is a little complicated, as you may have noticed. There is the option to skip some questions if you are a small business.

By multipunch questions, do you mean that if they answer Yes to something and another option appears, such as "Do you have X" and they say YES, then another question asks them how many, and they have to select one of those other options?  I work in LS so infrequently that I'm unfamiliar with the terms used :(
Displaying 1 - 15 out of 20 results.

Lime-years ahead

Online-surveys for every purse and purpose