Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Clickable Image as Answer - change label

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 10 months ago #80308 by tpartner
Replied by tpartner on topic Clickable Image as Answer - change label
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.
The topic has been locked.
More
11 years 10 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
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 10 months ago #80312 by Mazi
Replied by Mazi on topic Clickable Image as Answer - change label

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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • TwentyTwo
  • TwentyTwo's Avatar Topic Author
  • Visitor
  • Visitor
11 years 10 months ago #80331 by TwentyTwo
Replied by TwentyTwo on topic Clickable Image as Answer - change label
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!!
The topic has been locked.
  • TwentyTwo
  • TwentyTwo's Avatar Topic Author
  • Visitor
  • Visitor
11 years 10 months ago #80424 by TwentyTwo
Replied by TwentyTwo on topic Clickable Image as Answer - change label
@mkb
I have changed the css a bit for multi response
screen 4 in the example: demolink
you can download the lss here
The topic has been locked.
More
11 years 10 months ago #80430 by mkb
This is GREAT thanks!!
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 10 months ago #80477 by Mazi
Replied by Mazi on topic Clickable Image as Answer - change label
Thanks TwentyTwo, we are looking forward to more examples.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
10 years 3 months ago #102489 by Luk01
Replied by Luk01 on topic Clickable Image as Answer - change label
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....
The topic has been locked.
More
10 years 1 week ago #106171 by SurveyDennis
Replied by SurveyDennis on topic Clickable Image as Answer - change label
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

Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
The topic has been locked.
More
9 years 3 months ago #115689 by Harris
Replied by Harris on topic Clickable Image as Answer - change label
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
The topic has been locked.
More
9 years 3 months ago #115694 by SurveyDennis
Replied by SurveyDennis on topic Clickable Image as Answer - change label
Hi, I have indeed changed this a little bit.
Example and download can be found here:
www.surveydesigners.com/ls/qt-clickable-images-as-answers/

Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 3 months ago #115699 by Mazi
Replied by Mazi on topic Clickable Image as Answer - change label
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose