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
20 Mar 2025 12:41
Replied by holch on topic Assessment and Multpile Choice Questions
First of all, no need to post more than once. As a new user your post needs to go through a moderation process and only shows up when approved by a moderator.

Now to your question: Multipunch questions have a fixed assessment value of "1" for each box that is marked. That is why you don't see the assessment value field. That might be inconvenient, but remember, the assessment function is really old and basically depricated. Since there is expression manager, we mostly create our own more flexible assessment via that function. Gives you a lot more flexibility and also allows you to save the values to the database, while the assessment function did not save the values.
  • jparis
  • jparis's Avatar
19 Feb 2025 20:05 - 19 Feb 2025 20:06
Replied by jparis on topic pdfReport HowTo

As far as I remember you started this thread with something like "How to store and display previous results of a test".
And the topic was "pdfReport HowTo"
But now this seems to be something quite different.
Nothing about pdfReport, nothing about the results of the test.
Please "New topic - new thread"


Oh!, my fault, sorry about that, just seemed to me that open new threads for different questions related to the same projecto would be worst that maintain all related stuff in this one. I'll follow your instructions next time.

So you want to let the participant choose a test and when he opens the survey the next time this already completed test isn't available anymore.


No exactly, all I need is the participant to see only the "allowed" test for him, I would use an extra attribute on the participants list with the lower test he can take, example: if you have '3' in the attribute you can take test number 3 and 4 and 5 and so on but you can't access test s1 and 2.

As bootstrap buttons are "single punch" questions, - and these question types do not support conditions it's a bvit tricky.


I can use any other option, I choose this kind of question as it liked to me but any other one that do the job will be fine.

Send the lxss export of your survey.( only the relevant questions)


I'll do when more elaborated, first I want to try, test and play with ExpressionScript to learn more about it.

And:You need me to create that translated to spanish?What makes you think this?
Denis only showed the link to the plugin. and offered help.


Denis wrote "Else : when you want : you can send me offer to create README.md and manual and tips on extensions.sondages.pro/ :)" and I understood "send me offer to" like he would like me to do something (something that I would kindly do) for him.
So sorry, was like the movie... Lost in translation... forget it.

Paris
  • Joffm
  • Joffm's Avatar
19 Feb 2025 13:12 - 19 Feb 2025 13:14
Replied by Joffm on topic pdfReport HowTo
Hi,
As far as I remember you started this thread with something like "How to store and display previous results of a test".
And the topic was "pdfReport HowTo"
But now this seems to be something quite different.
Nothing about pdfReport, nothing about the results of the test.
Please "New topic - new thread"

So you want to let the participant choose a test and when he opens the survey the next time this already completed test isn't available anymore.

This you also do with the already mentioned plugin.
As bootstrap buttons are "single punch" questions, - and these question types do not support conditions it's a bvit tricky.

Send the lxss export of your survey.( only the relevant questions)

And:

You need me to create that translated to spanish?

What makes you think this?
Denis only showed the link to the plugin. and offered help.

Joffm
 
  • Joffm
  • Joffm's Avatar
19 Dec 2024 16:03 - 19 Dec 2024 16:04
@holch already mentioned the main options.

1. A following question "Which one?"

2. A question of type "multiple with comments" where you hide the not needed comment  fields
 
Restrict the number of answers to 1.
In my understanding of language "mainly" always indicates single punch.

3. Another option would be this
 
In my opinion an open question is not really useful. You will get many, many different ways of naming and spelling. (und jedes Fitzelfach kommt dann)
It is better to limit yourself to 5-6 subjects, the main fields of study - and "Other"

But make sure that you are allowed to use javascript. Reading "hosted by my university" I doubt. Many admins do not allow this.

The screenshots are taken from my "Tutorial 2: Mehrfachennungen,... (in the German part). And right at the beginning you find a small test to find out, if javascript is possible.

Joffm

Wieder einmal unnötigerweise viel Englisch. Muss das denn sein?
  • holch
  • holch's Avatar
27 Sep 2024 15:41
Replied by holch on topic Edit other Option
I am also confused by this question, just like Joffm.

The question asks people to "rank" up to 5 options (out of 6 total options???) and the question type is a multipunch question.

How can you rank via a multipunch question? You can chose up to 5 that are important, but I wouldn't call this a "ranking".
  • holch
  • holch's Avatar
06 Sep 2024 21:46 - 06 Sep 2024 21:53
Replied by holch on topic setting data for hidden variables
I don't know how Conformit does it, but I expect also some kind of scripting.

I've seen something about ExpressionScript which seems very long winded imo (unless im misunderstanding it's power)?


ExpressionManager/Script is the way to go. Might look intimitating at the beginning, but it isn't all that bad. Your example is actually relatively simple.

Let's assume you have the following scenario:

Q1: What is your age? (OE)
Q2: What is your age? (Single response - hidden via GUI)
[1] 0-17
[2] 18-64
[3] 65+
Q3: Equation type question.

Then you will "loop". You create some if clauses in Limesurvey. I simplified it to 3 answer options (below 18, 18-64 and 65+), for demonstration. Don't want to loop "a thousand" times here.

This is just an example to start from. I have not tested it, also because you did not provide a LSS example of your structure and I am too lazy now to create one. So this might not work straight out of the box, but you will understand how it works.

I highly recommend to have a look at  www.limesurvey.org/manual/Expression_Manager . You don't need to read it all, but it will give you an idea of what you can do with it. It works very similar to many other script languages, a little bit like formulas in excel.

The if clause works like this: if([condition to be met], [if condition is met, what should LS do], [else, if condition is not met, what should limesurvey do?]). 

In your case you need to put addition if clauses in the "else" section, because you have more than 2 age brackets. Something like this: 

Code:
{if(Q1<18, Q2==1, if(Q1<65, Q2==2, Q2==3))}


So basically you check if the answer in Q1 is smaller than 18, if so you asign the answer "1" to Q2. If not, you continue and check if the number is smaller than 65, if so you can apply code 2, because if it would have been smaller than 18 it would already have been asigned a 1 and the if loop would have finished. So the person must have given a number between 18 and 64. And then "else" the number must be 65 above, because it is not smaller than 18 and not smaller than 65. So it must be bigger than 65.

But actually, not sure why you even need the hidden single punch question. You could just write the answer codes into the equation. OK, to work with it you would need to know what each code means, but I assume you would remember that. :-)
  • holch
  • holch's Avatar
27 Aug 2024 17:02

Is there any way to store the response times of individual questions


This is tricky, because when is a question "answered"?

Multipunch questions: When do we consider this question as answered? after the first click? Last click? But how to know when the last click was done?

Singlepunch questions: Here it is easier, because you can only choose one option. But what if someone clicks one answer and then changes the idea?

Open-ended questions: When is the question answered?

In general, if you have more than one question per page, people can always easily go back and change the anwers. So I don't see a good way to measure response time per question if you don't show the questions one per page.
  • holch
  • holch's Avatar
19 Aug 2024 15:09
Erstmal würde ich die erste Frage aufsplitten und erstmal nur die Tierarten aufzählen die gehalten werden (finde "Produktion" in diesem Zusammenhang irgendwie unglücklich, auch wenn das unter Bauern offensichtlich durchaus ein gängiger Begriff ist. Aber das ist ein anderes Thema, ich schweife ab).

Das ganze als Multipunch-Frage, sprich mit checkboxes so dass der Teilnehmer mehrere Tierarten ankreuzen kann.

Im Nächsten aufwasch würde ich dann eine Frage anbieten, die nur die ausgewählten Tierarten zeigt und dort dann die Anzahl der Stallungen pro Tierart abfragen. Da stellt sich die Frage mit welchem Fragetyp man das am besten macht.

Vorab solltest du dich aber fragen, wie viele Ställe denn wahrscheinlich sind? Ist die Anzahl endlich, also irgendwo zwischen 1 und 5 oder kann das auch wesentlich grösser werden, z.B. 10+

Denn am Ende musst du ja für jeden Einzelstall ein Kästchen anbieten in das die Anzahl der m² kommt.

Ich würde vermutlich nach der ersten Frage verschiedene Zweige für die verschiedenen Tierarten anbieten (sprich Fragengruppen bilden). Die werden dann angezeigt, wenn die Tierart in der ersten Frage ausgewählt wurden, das macht man via Conditions.

Dann eine Dropdown-Frage mit den optionen 1, 2, 3, 4, ...., x Ställe für Tierart XYZ. Und dann wird eine Frage mit Multiple Numerical Input verwendet ( www.limesurvey.org/manual/Question_types...iple_numerical_input ). Die muss natürlich so viele Unterfragen/subquestions haben wie du in der Dropdown-Frage zur Auswahl anbietest. Die Unterfragen werden dann eben via Conditions angezeigt oder nicht. Sprich, wenn es "nur" zwei Ställe für Kühe gibt, werden halt via Condition ab Stall 3 alle ausgeblendet.
  • holch
  • holch's Avatar
01 Aug 2024 02:32
Array filter does not work with single punch questions as a source of the exclusion. So you would have to work around this with multipunch questions set by equation questions.
  • Joffm
  • Joffm's Avatar
27 Jun 2024 19:04 - 27 Jun 2024 19:05
Hi,
may I ask "when is a subquestion answered?"
Array(numbers) is multi punch.
So the respondent has to click to submit the subquestion.

And this results in several questions with one subquestion as @holch.

Joffm 
  • holch
  • holch's Avatar
09 May 2024 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
09 May 2024 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
09 May 2024 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
09 May 2024 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
09 May 2024 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.
Displaying 1 - 15 out of 15 results.

Lime-years ahead

Online-surveys for every purse and purpose