Type of question

More
2 weeks 3 days ago #177465 by flapauw
flapauw created the topic: Type of question
Hello, I allow myself to ask this question here, if someone has the answer :).
Is it possible to ask this type of question:

example: "According to you, which countries are involved" -> World map on which we could click on countries.

Thanks a lot for your help !

:D

Flore.

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

More
2 weeks 3 days ago #177478 by holch
holch replied the topic: Type of question
This type of question does not exist in Limesurvey. But you can probably create something like this with an image and Javascript, but this would be custom coding.

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
The following user(s) said Thank You: LouisGac, flapauw

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

More
2 weeks 2 days ago #177533 by flapauw
flapauw replied the topic: Type of question
Ok thank you :)

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

More
2 weeks 2 days ago #177534 by flapauw
flapauw replied the topic: Type of question
I'm sorry, i'm really bad at it ...
So how can I do to creat this javascript ? ...

Thanks a lot :)

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

More
2 weeks 2 days ago #177535 by holch
holch replied the topic: Type of question

But you can probably create something like this with an image and Javascript

The "probably" should already indicate that I don't know if and how this can be done via Javascript.

But I guess it will be quite a bit of work. Because you will have to have the image, then mark every country with an area (which is extremely tricky, because countries are not just squares, but have very complicated shapes). Alone marking those countries for Javascript to identify where you did click will be a monstrous load of work, I think. This is nothing that you would do quickly, even if you are an expert in Javascript. In addition to that, you probably want the possibility that more than 1 country can be marked. That will add probably another level of work. I think it can be done, but I don't think that someone with little to no coding experience can do it, and experts will need quite a bit of time. Maybe there is already some kind of Javascript library with a world map where you can mark the countries. You could then write the result into a hidden question in Limesurvey to register the picked countries in the database. A lot of custom coding though.

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

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

More
2 weeks 2 days ago #177536 by holch
holch replied the topic: Type of question
But a quick google search spit out a few links that have the map and the javascript ready, now you need to see how you can write the results collected with this Javascript into a LS question to save it in the database:
www.amcharts.com/docs/v3/tutorials/selecting-countries-map/

stackoverflow.com/questions/2717008/inte...untries-on-mouseover
This seems to be able to do it with SVG vectors from Inkscape: dmitrybaranovskiy.github.io/raphael/

Maybe here:
jsmaps.io/?s=world
datamaps.github.io/
colorlib.com/wp/jquery-map-plugins/

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
The following user(s) said Thank You: flapauw

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

More
2 weeks 1 day ago #177568 by flapauw
flapauw replied the topic: Type of question
Ok :)
Thanks a lot for your time !!!
I'll find something with all this stuff inshallah :dry:
Thanks !

F.

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!