Check out the LimeSurvey source code on GitHub!

Timer in huge free text

More
5 years 3 months ago #67929 by ewrape
Hello all-

I am trying to have a question countdown for 15 minutes on a huge free text question type. The timer is not appearing.

Here are the settings I am using:

Time limit: 900
Time limit action: Warn and move on
Time limit disable next: Yes
Time limit disable prev: Yes
1st time limit warning message timer: 195
1st time limit warning message: There are three minutes left.
2nd time limit warning message timer: 15

Can anyone help me with this? I am pretty technologically incompetent.

Please Log in to join the conversation.

More
5 years 3 months ago - 5 years 3 months ago #67931 by tpartner
Hmm...that may be a bug...

Try adding the following to the <head> element of your startpage.pstpl or the source of the question:
<script src="scripts/coookies.js" type="text/javascript"></script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 5 years 3 months ago by tpartner.

Please Log in to join the conversation.

More
5 years 3 months ago #67943 by Mazi
Can you post a link to a Demo survey?

Can you attach the survey question here for testing?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #67995 by ewrape
Like I said, I am technologically behind. Attached is the survey question (if I did it right)
Attachments:

Please Log in to join the conversation.

More
5 years 3 months ago - 5 years 3 months ago #67998 by tpartner
Try importing this question. I have added the script that loads coookies.js to the source of the huge free text question and the timer works for me.

File Attachment:

File Name: limesurvey...TONY.lsq
File Size:6 KB


Another note: you should avoid pasting directly from MS Word. It adds all sorts of junk to the question source.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last Edit: 5 years 3 months ago by tpartner.

Please Log in to join the conversation.

More
5 years 3 months ago #68001 by ewrape
That worked! Thank you so much!:laugh:

Please Log in to join the conversation.

More
5 years 3 months ago #68030 by Mazi
Tony, do you think this is a bug at the official release? If so, can you fix and commit it?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #68044 by tpartner
Fixed in revision 11285.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form