Welcome to the LimeSurvey Community Forum

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

Public Statistics - How to show only part of the long answer

  • algores
  • algores's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 week ago #239722 by algores
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 5.6.0+230116
Own server or LimeSurvey hosting: my own server
Survey theme/template: fruity
==================

Dear All,
I need some help whit Public Statistics of my installation:
at the moment I show just one question that has 4 complex answers formatted in HTML (see below an example), and when i go to see the Public Statistics, I see only the text and not the text formatting. This cause me a problem of results visualization, so I'd like to reach the goal in another way: I tought that could exist two kind of solutions and like to know if they can be applied or if a better solution exists:
n°1) create a script that in another question automatically select a corrispondent short answer and then show in Public Statistics only answers for this question (how to do this?)
n°2) in public statistics, if possible, show only part of the answer (e.g. List name - how to do this?)

An example of one answer is the following:List Name - HR department
  • Name Surname head of Department
  • Name Surname n°1
  • Name Surname n°2
  • Name Surname n°3
  • Name Surname n°4
  • Name Surname n°5
  • Name Surname n°6

Corresponding source code is:
<h2 style="font-style:italic;"><span class="marker">List Name - HR department</span></h2> <ul>    <li><strong>Name Surname head of Department</strong></li>    <li>Name Surname n°1</li>    <li>Name Surname n°2</li>    <li>Name Surname n°3</li>    <li>Name Surname n°4</li>    <li>Name Surname n°5</li>    <li>Name Surname n°6</li></ul>


Any help is appreciated.
Best regards,
Algores

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose