Check out the LimeSurvey source code on GitHub!

Ranking question on Ipad

  • asonimie
  • asonimie's Avatar Topic Author
  • Visitor
  • Visitor
5 years 3 months ago #67969 by asonimie
I was running a survey on an ipad and when I came to the ranking question, it was very difficult to select the correct answers. It autoselects the first answer, and then you need to select what you want to be the correct first answer, and then cut out the first answer, then click the drop down box again for the correct answer to finally go in there.

I looked at this workaround: docs.limesurvey.org/Workarounds%3A+Manip...rsion_1.90_and_newer

And tested this Demo on the ipad: www.partnersinc.biz/surveys//index.php?s...81&newtest=Y&lang=en

but the Ipad doesn't recognize the individual items, it just thinks it is one big object. Is anyone else running surveys on Ipads?

What kind of issues have you run into and does anyone know how to get a ranking question to work on an ipad?

thanks,

Please Log in to join the conversation.

More
5 years 3 months ago #67970 by DenisChenu
Hello,

Maybe you can trye jquery.sortable solution ( workaround solution) with
code.google.com/p/jquery-ui-for-ipad-and-iphone/
or
furf.com/exp/touch-punch/sortable.html

:)

If it work, you can update the solution on the wiki :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 3 months ago #67971 by tpartner
The Drag and Drop Ranking workaround will not work with touch screens. jQuery UI does not support touch events yet so the workaround can only recognize mouse events.

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.

More
5 years 3 months ago #67979 by tpartner
Okay, I stand corrected. Shnoulle's jQuery.ui.touch-punch.js option works but it needs jQuery 1.4 and jQuery UI 1.8 which are only shipped with LimeSurvey 1.91.

1) Download the jQuery.ui.touch-punch.js plugin and save it in your template directory.

2) Replace this line in your startpage.pstpl:
<script type="text/javascript" src="{TEMPLATEURL}template.js"></script>
With:
<script type="text/javascript" src="{TEMPLATEURL}jquery.ui.touch-punch.js"></script>
		<script type="text/javascript" src="{TEMPLATEURL}template.js"></script>

I have fixed up the demo so it should now work with iPads/iPhones.

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: c_schmitz, DenisChenu

Please Log in to join the conversation.

More
5 years 3 months ago #67980 by c_schmitz
Awesome solution (as always). Thank you!

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
5 years 3 months ago - 5 years 3 months ago #67983 by DenisChenu

tpartner wrote: 1) Download the jQuery.ui.touch-punch.js plugin and save it in your template directory.

Tony,

Did you compare with code.google.com/p/jquery-ui-for-ipad-and-iphone/ ?

Seems this two "plugin" can be used :)

I don't have webphone, no iphone, ni android to do some test ;).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 5 years 3 months ago by DenisChenu.

Please Log in to join the conversation.

More
5 years 3 months ago - 5 years 3 months ago #67984 by tpartner
Thanks c_schmitz.

Did you compare with code.google.com/p/jquery-ui-for-ipad-and-iphone/ ?

I did but it was broken so I didn't spend much time debugging.

I don't have webphone, no iphone, ni android to do some test

I had to steal my wife's :cheer:

And, yes Mazi, I have updated the workarounds...

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.

  • asonimie
  • asonimie's Avatar Topic Author
  • Visitor
  • Visitor
5 years 3 months ago #67985 by asonimie
Is all that needs to be done, or does the rest of the workaround need to be followed to get it to work?

Please Log in to join the conversation.

More
5 years 3 months ago #67986 by tpartner
You need to get the "Drag and Drop Ranking - Version 1.90 and newer" workaround working first - docs.limesurvey.org/Workarounds%3A+Manip...rsion_1.90_and_newer

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.

More
5 years 3 months ago #67989 by DenisChenu

tpartner wrote: And, yes Mazi, I have updated the workarounds...

But Mazi don't have time to ask :ohmy:

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

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