Check out the LimeSurvey source code on GitHub!

Clickable Image as Answer - change label

More
4 years 9 months ago #80308 by tpartner
I will go through my workarounds but I would prefer that well-formed, valid JavaScript worked.

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
4 years 9 months ago #80311 by mkb
Hi,

I would be very interested in this.... are there instructions for multiple choice. Once the bug they found from my survey gets fixed I would like to implement this.

Thanks,
M

Please Log in to join the conversation.

More
4 years 9 months ago #80312 by Mazi

tpartner wrote: I will go through my workarounds but I would prefer that well-formed, valid JavaScript worked.

I agree, especially since valid but not working JS is irritating ad frustrating for the users.
How about showing a warning on save if the "<script" + "type=javascript" is detected to let the users know they have to add spaces?

I think that's the least we should do?!


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.

  • TwentyTwo
  • TwentyTwo's Avatar Topic Author
  • Visitor
  • Visitor
4 years 9 months ago #80331 by TwentyTwo
Many thanks tpartner!
You once helped me providing this Javascript and now with the solution for have it working again in 1.92!!
Much appreciated!!

Please Log in to join the conversation.

  • TwentyTwo
  • TwentyTwo's Avatar Topic Author
  • Visitor
  • Visitor
4 years 9 months ago #80424 by TwentyTwo
@mkb
I have changed the css a bit for multi response
screen 4 in the example: demolink
you can download the lss here

Please Log in to join the conversation.

More
4 years 9 months ago #80430 by mkb
This is GREAT thanks!!

Please Log in to join the conversation.

More
4 years 9 months ago #80477 by Mazi
Thanks TwentyTwo, we are looking forward to more examples.


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
3 years 2 months ago #102489 by Luk01
Unfortunately all links provided here are not working now ...
Can anyone pls share an *.lsq file with Clickable Image question?
It would be way easier to understand the logic behind that with live working example....

Please Log in to join the conversation.

More
2 years 11 months ago #106171 by SurveyDennis
I made some changes to the solutions so that it works also in version 2.0 now.

howto, Demo and lss can be found here

Design is a method of problem solving. Applying design in surveys helps solving the biggest challenges we currently face in market research.

Please Log in to join the conversation.

More
2 years 2 months ago #115689 by Harris
Has anyone tried this code with the 2.05 version? It was working fine for me with the previous one but since I've updated it, the images are not selected. Labeling is still ok but the radio button cannot be checked anymore.

Thanks,
H

Please Log in to join the conversation.

More
2 years 2 months ago #115694 by SurveyDennis
Hi, I have indeed changed this a little bit.
Example and download can be found here:
http://www.surveydesigners.com/ls/qt-clickable-images-as-answers/

Design is a method of problem solving. Applying design in surveys helps solving the biggest challenges we currently face in market research.

Please Log in to join the conversation.

More
2 years 2 months ago #115699 by Mazi
Thanks for adjusting the example. Did you try usinbg placeholders like {questioncode.SGQA} within the JS to make it better portable to other questions?


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
2 years 2 months ago #115700 by SurveyDennis
yes good suggestion, I haven't done this in this example but looks like a good plan to adjust it so it will be easier!

Design is a method of problem solving. Applying design in surveys helps solving the biggest challenges we currently face in market research.
The following user(s) said Thank You: Harris

Please Log in to join the conversation.

More
2 years 1 month ago #115918 by Harris
Thanks for the link!

Please Log in to join the conversation.

More
2 years 1 month ago #116374 by david2013
Hi SurveyDennis, thank you for sharing your work. I have one suggestion, for multiple choice question, if we have "None of above" (an exclusive choice). when respondent click on "None of above", it should de-select other options.

Please Log in to join the conversation.

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