Welcome, Guest
Username: Password: Remember me

TOPIC: Sisyphus plugin very useful for saving survey form inputs using Local Storage

Sisyphus plugin very useful for saving survey form inputs using Local Storage 2 years 11 months ago #68315

  • jun9
  • jun9's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Thank you received: 1
  • Karma: 0
Sisyphus.js is a lightweight (2Kb) jQuery plugin uses HTML5 Local Storage to prevent your work being lost when you're almost done with that browser is crashed, or you closed tab mistakenly, or electricity is turned off, or something else.

The first thought when I saw this plugin was it could be very useful to save limesurvey inputs, especially in all-in-one page settings, or survey on mobile devices.

So I did a test with a simple custom-load in template.js:
jQuery(function($){
jQuery.getScript('raw.github.com/simsalabim/sisyphus/master/sisyphus.min.js',
function(){
$('form').sisyphus();
}
);
focusFirst();
})

It works quite well, I think many others will like that too, so maybe even consider to load that by default?
The administrator has disabled public write access.

Re: Sisyphus plugin very useful for saving survey form inputs using Local Storage 2 years 11 months ago #68324

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
Thanks for your feedback, this sounds like a nice solution for all in one surveys.
Please open a ticket at our bugtracker so we can assign this case to the according developer to consider implementimng this.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Sisyphus plugin very useful for saving survey form inputs using Local Storage 2 years 11 months ago #68330

  • jun9
  • jun9's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Thank you received: 1
  • Karma: 0
I'm glad you like that, Mazi.
It could be useful in long group-by-group surveys too.
Bugtrack ID05553 posted.
The administrator has disabled public write access.

Re: Sisyphus plugin very useful for saving survey form inputs using Local Storage 2 years 11 months ago #68332

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 840
  • Karma: 249
Hello,

Just a litle think,

I'm not sure it's really safe to use this plugin for some security reason.

If a user open the survey on a computer, close the computer. Another user open the survey on the same computer.
Second user can see the answer of the first user.

I think it's best to:
- optionnal setting in survey for admin
- optionnal setting for user in survey taking ( for example at start of survey with a checkbox).

Denis :)
PS: i don't know, because i don't test, if we can have problem with token survey.
The administrator has disabled public write access.

Re: Sisyphus plugin very useful for saving survey form inputs using Local Storage 2 years 11 months ago #68343

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
Of course this setting should be optional.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.115 seconds
Donation Image