description of the questions | XM Community
Skip to main content
Solved

description of the questions

  • April 9, 2025
  • 2 replies
  • 55 views

Forum|alt.badge.img+8

Hi everyone,

I would like to add a pop-up that provides more information about a question when the user hovers over it.
Like this but for the question and not for the options:



Since this survey has translations, I also need to ensure that the pop-up boxes display the description in the correct language.

If anyone has any suggestions, they would be greatly appreciated!

Best answer by vgayraud

Hi,

The tooltip is used in the same way whether it’s in a choice or the question. You can use the same code. Normally, you define a tooltip’s content in your question’s html (in source mode, probably something like this:

<abbr title="tooltip content" rel="tooltip">text to apply tooltip on</abbr>

The “tooltip content” can be different depending on your question’s language.

2 replies

vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 552 replies
  • Answer
  • April 10, 2025

Hi,

The tooltip is used in the same way whether it’s in a choice or the question. You can use the same code. Normally, you define a tooltip’s content in your question’s html (in source mode, probably something like this:

<abbr title="tooltip content" rel="tooltip">text to apply tooltip on</abbr>

The “tooltip content” can be different depending on your question’s language.


Forum|alt.badge.img+8
  • Author
  • QPN Level 4 ●●●●
  • 76 replies
  • April 10, 2025

Thank you ​@vgayraud !