- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Slider question with a time-limit
- Kaikelan_190010
- Topic Author
- Offline
- Banned
I'm hoping to include in my survey a page with exactly one question with a slider input and a visible count-down timer. As the slider can be used only with a multiple numerical input -question type and time-limit can't be included with that question type, I tried to have a question group with two items: the question using a slider and a text display question with a time-limit. However, the time-limit doesn't work with that for some reason: the timer just won't show up and doesn't seem to have any functionality either. (This also might be a bug: bugs.limesurvey.org/view.php?id=13602 )
Also, using a text input question type with a timer for the question group isn't really an option for this, the problem with that would be the visible text input field which I really wouldn't like to include in this particular page.
Would anyone have an idea on how to get around this?
I'm using (and would like to continue using) LimeSurvey online so I don't have any downloaded version. The survey is in group-by-group mode.
Thanks in advance!
- jelo
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
So what version of LimeSurvey do you use? And what do you mean by using LimeSurvey online? You are a customer of LimeSurvey Pro? If that is the case, you can open a support ticket too.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- juhohalonen
- Offline
- New Member
- Posts: 1
- Thank you received: 0
I guess I'm not that familiar with LimeSurvey and the possibly existing principles with bugs. I just thought this would be the right place to ask for help for conducting surveys with LimeSurvey Hopefully everything's ok.
Yes, by online I meant LimeSurvey Pro, wasn't very clear with the terms. I have now contacted the LimeSurvey support about this issue.
If however someone has an idea related to the timer-and-slider level stuff, I guess it wouldn't hurt to express that here as well.
- cdorin
- Offline
- Elite Member
- Posts: 234
- Thank you received: 40
Please check the attached example. I used a long free text question instead where I hid the input area. I added in the question editor some rudimentary/simple css code:
<style type="text/css">#inputid
{
display:none;
}
</style>
To find your input id, right click on the input area -> inspect elements -> look for the id of that input text area in the console -> hide it as I did in my example.
Please note that the preview mode is quite buggy when it comes to the usage of timers (saw it only now; the timer continues from the moment it stopped if you preview multiple times that question - I will create a bug report about that). However, everything should be fine in the live version.
Hope this workaround helps you till the devs and community members solve the text-display-related bug.
Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11639
- Thank you received: 2737
[strike]Couldn't you just give the question a special class in the advanced settings of the question to hide it?[/strike]
Thinking again, this would probably hide the whole question and thus the counter wouldn't be shown.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13597
- Thank you received: 2487
#inputid can be replaced by #answer{SGQ} inside question text, or #answer{QCODE.sgq} in another question text.
Alternative (to be tested) : add boilerplate to Class name ? Must work on core theme.
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.
- Kaikelan_190010
- Topic Author
- Offline
- Banned
- Posts: 5
- Thank you received: 0
cdorin wrote: Hello there,
Please check the attached example. I used a long free text question instead where I hid the input area. I added in the question editor some rudimentary/simple css code:
<style type="text/css">#inputid
{
display:none;
}
</style>
To find your input id, right click on the input area -> inspect elements -> look for the id of that input text area in the console -> hide it as I did in my example.
Please note that the preview mode is quite buggy when it comes to the usage of timers (saw it only now; the timer continues from the moment it stopped if you preview multiple times that question - I will create a bug report about that). However, everything should be fine in the live version.
Hope this workaround helps you till the devs and community members solve the text-display-related bug.
Hi!
Thank you, this seems to work nicely!
Also, using #answer{SGQ} instead of #inputid works identically at least in my understanding. This way you don't have to search for the specific input id, which is easier if you're not immediately sure where/how to look for.