- Posts: 59
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Setting different time limit for different participant
- yohay
- Topic Author
- Offline
- Senior Member
Less
More
4 years 1 month ago #196158
by yohay
Setting different time limit for different participant was created by yohay
Hi,
Is it possible to set (maybe by JS) different time limit for different participants?
Lets say I want to set time limit for a question but want part of the participants to have X seconds and other group y seconds. Can I set a different attribute for each group and make some conditioning to achieve that?
(The only way I can think of is to create 2 sets of the same questions and show them according to that attribute BUT this will be very cumbersome to built AND very cumbersome later to consolidate the data)
Thanks
Is it possible to set (maybe by JS) different time limit for different participants?
Lets say I want to set time limit for a question but want part of the participants to have X seconds and other group y seconds. Can I set a different attribute for each group and make some conditioning to achieve that?
(The only way I can think of is to create 2 sets of the same questions and show them according to that attribute BUT this will be very cumbersome to built AND very cumbersome later to consolidate the data)
Thanks
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
4 years 1 month ago #196164
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Setting different time limit for different participant
Did you try using ExpressionScript in the timer settings?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- yohay
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 59
- Thank you received: 0
4 years 1 month ago #196218
by yohay
Replied by yohay on topic Setting different time limit for different participant
Im not familiar with this... I'm not a developer, is this something that have any manual or KB?
Many thanks for your help
Many thanks for your help
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11681
- Thank you received: 2748
4 years 1 month ago #196224
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Setting different time limit for different participant
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12996
- Thank you received: 3999
4 years 1 month ago #196226
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Setting different time limit for different participant
Hi,
LimeSurvey is thought to be a tool that you may create your survey without being a developer. There is the GUI where you add your questions and your routing just by clicking and entering the texts
But of course you will have to read the manual, especially about Expression Manager/Script
manual.limesurvey.org/ExpressionScript_-_Presentation
As you didn't mention the version of LS that you are using, for your information:
Up to version 3.x this was called "Expression Manager", from 4.x. on it it "Expression script"
But as far as I tried it is not possible to enter a value by Expression Manager into the timer duration field. A numeric value is expected.
This is a bit unsatisfying.
But you already know how to do it (copy the questions, different timer duration, different relevance equation).
And it is not "cumbersome" at all.
Copying a question, changing the timer duration, changing the relevance equation doesn't take more than one minute per question.
And to restructure the data? This you do either by a macro in EXCEL or by a few RECODE statements in SPSS. So, no work at all.
Joffm
LimeSurvey is thought to be a tool that you may create your survey without being a developer. There is the GUI where you add your questions and your routing just by clicking and entering the texts
But of course you will have to read the manual, especially about Expression Manager/Script
manual.limesurvey.org/ExpressionScript_-_Presentation
As you didn't mention the version of LS that you are using, for your information:
Up to version 3.x this was called "Expression Manager", from 4.x. on it it "Expression script"
But as far as I tried it is not possible to enter a value by Expression Manager into the timer duration field. A numeric value is expected.
This is a bit unsatisfying.
But you already know how to do it (copy the questions, different timer duration, different relevance equation).
And it is not "cumbersome" at all.
Copying a question, changing the timer duration, changing the relevance equation doesn't take more than one minute per question.
And to restructure the data? This you do either by a macro in EXCEL or by a few RECODE statements in SPSS. So, no work at all.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
4 years 1 month ago #196227
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Setting different time limit for different participant
Sorry, I take that back - the timer setting is an <input type="number" /> element so will not accept ExpressionScript.
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: yohay
The topic has been locked.
- yohay
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 59
- Thank you received: 0
4 years 4 weeks ago #196369
by yohay
Replied by yohay on topic Setting different time limit for different participant
I'm familiar with expression manager, didnt know it is now called ExpressionScript ( I have version 2.[something] ).
When you have several projects each week with more than 40 questions each it is quite cumbersome BUT there is really nothing to complain, LimeSurvey is awesome
Thank you very much for the elaborate answer.
When you have several projects each week with more than 40 questions each it is quite cumbersome BUT there is really nothing to complain, LimeSurvey is awesome
Thank you very much for the elaborate answer.
The topic has been locked.