Graphic Added into Pick, Sort and Rank Box | Experience Community
Skip to main content
Question

Graphic Added into Pick, Sort and Rank Box

  • Sep 30, 2019 4:01 PM UTC
  • 5 replies
  • 142 views

rislis
Forum|alt.badge.img+3
I'd like to add an image to the box where items are sorted to. I tried adding the piped text of an image, but that didn't work. Any ideas? THANKS!

5 replies

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+6
  • Level 4 ●●●●
  • Sep 30, 2019 4:47 PM UTC
Nevermind, I previously misread your question. Let me research a solution.

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+6
  • Level 4 ●●●●
  • Sep 30, 2019 4:57 PM UTC
You can do this by adding the photo to a Descriptive Text question then piping in the Question Text from that question (which you can just hide so it is never shown). ! !

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • Jun 14, 2023 8:33 PM UTC

Another approach would be to set the background of the box with an image using JS. Try adding the below to the OnReady section of the question’s JavaScript, updating the image url as needed:

jQuery("#"+this.questionId+"group0").css({
"background":"url('https://img.freepik.com/free-photo/white-cloud-blue-sky_74190-2381.jpg?size=626&ext=jpg')",
"background-size": "100% 100%",
"background-repeat": "no-repeat",
"background-position": "center center"
});

 


Forum|alt.badge.img+3
  • Level 2 ●●
  • Apr 12, 2024 12:51 PM UTC

Is it possible to add an image in the ‘Name of the Group’ of a pick up, rank and order question. I aimed to do that with HTML code with rich content editor function.

Unfortunately I cannot visualize the rich content editor when I go to change the name of a group for this kind of question.

Can you please help?


Forum|alt.badge.img+23
  • QPN Level 5 ●●●●●
  • Apr 12, 2024 1:37 PM UTC

 Hi @giuliopalma save the image in the survey flow and pipe text the value in the name of the group.