Slider question with a time-limit

More
1 month 3 weeks ago #183725 by Janurson
Hi,

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!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 month 3 weeks ago #183748 by jelo
Since you already point out a bugticket, you might comment on that bugticket and add the version you use too. Timer seems to be not relevant to many users or developers. The bugticket is open over a year now without any reaction by any developer.
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

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago - 1 month 3 weeks ago #183749 by juhohalonen
Original poster / thread starter here, this was meant to be posted from the same account, not a different one..

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.
Last edit: 1 month 3 weeks ago by juhohalonen.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago - 1 month 3 weeks ago #183786 by cdorin
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.
Attachments:
Last edit: 1 month 3 weeks ago by cdorin.
The following user(s) said Thank You: Janurson

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago - 1 month 3 weeks ago #183813 by holch
Good idea to use a hidden question of a type that allows a time limit.

Couldn't you just give the question a special class in the advanced settings of the question to hide it?

Thinking again, this would probably hide the whole question and thus the counter wouldn't be shown.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Last edit: 1 month 3 weeks ago by holch.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #183817 by DenisChenu
@cdorin :

#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 .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: cdorin

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #184027 by Janurson

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.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!