Welcome to the LimeSurvey Community Forum

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

Clickable Image as Answer - change label

  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 11 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 11 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 11 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 11 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 11 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 4 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 month 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 4 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 4 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 4 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.
More
9 years 4 months ago #115700 by SurveyDennis
Replied by SurveyDennis on topic Clickable Image as Answer - change label
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!

Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
The following user(s) said Thank You: Harris
The topic has been locked.
More
9 years 3 months ago #115918 by Harris
Replied by Harris on topic Clickable Image as Answer - change label
Thanks for the link!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose