Hiding a part of the tekst with a 'read more' button | XM Community
Skip to main content
Solved

Hiding a part of the tekst with a 'read more' button

  • August 23, 2021
  • 1 reply
  • 318 views

I am using the first part of my survey as an information letter and an informed consent. Several questions include a long introductory tekst, which needs to be there, but could better be hidden or shortened with a 'read more' button. When the participant klicks on this button the rest of the tekst appears. Is that possible?

Best answer by InessaG

One option is to put the rest of the text into a separate text question, and "read more" would be an answer option on the first part. Then have display logic with "In Page" option on on the second question and when they click "read more" the second question would display.
I'm not a programming expert though so there may be am much more elegant solution through JavaScript, etc.

1 reply

InessaG
Level 5 ●●●●●
Forum|alt.badge.img+19
  • Level 5 ●●●●●
  • Answer
  • August 23, 2021

One option is to put the rest of the text into a separate text question, and "read more" would be an answer option on the first part. Then have display logic with "In Page" option on on the second question and when they click "read more" the second question would display.
I'm not a programming expert though so there may be am much more elegant solution through JavaScript, etc.