Welcome to the LimeSurvey Community Forum

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

Hide column in array

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago - 6 years 2 weeks ago #166669 by Joffm
Replied by Joffm on topic Hide column in array
But, not to waste too much time on this.

You very probably can change the display to this:


Here are no problems to display or hide certain "examples" by relevance equations.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 2 weeks ago by Joffm.
The topic has been locked.
  • AlessandraAndreotti
  • AlessandraAndreotti's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 weeks ago #166670 by AlessandraAndreotti
Replied by AlessandraAndreotti on topic Hide column in array
Yes, I know. I have no problem to hide "row" of an array (I have done in another question of the questionnaire). Unfortunately I can't change column in row (as you suggested). :(
Thank you :)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166672 by Joffm
Replied by Joffm on topic Hide column in array
Why not?
There is no problem to have one question for each row of your array.

But.
Until now you did not tell us anything about the structure of your survey.
We only got this first example screenshot.

So, please, provide a sample survey with these questions.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • AlessandraAndreotti
  • AlessandraAndreotti's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 weeks ago #166680 by AlessandraAndreotti
Replied by AlessandraAndreotti on topic Hide column in array
Unfortunately I can't change column in row because the questionnaire is bonded.

I've attached the example in one of my previous answers. Anyway, I've attached it another time.

Thanks.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166682 by Joffm
Replied by Joffm on topic Hide column in array
Hi,

I tried your example.

If I don't give a third answer in the first question and remove the <p> tag it works.


If I do not remove the <p> tag it does not.



And the answer text should be like {D3_D3A.shown}

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • AlessandraAndreotti
  • AlessandraAndreotti's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 weeks ago #166686 by AlessandraAndreotti
Replied by AlessandraAndreotti on topic Hide column in array
Hi!
Thank you very much for your reply! Now it works! :)

I've used the command <p style="text-align: center;"> </p> in order to centered the titles of the columns...
How can I do this without the <p> tag?
Thanks in advance :)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166691 by Joffm
Replied by Joffm on topic Hide column in array
Hi, Alessandra,
well, it's obvious, if you - and I - think about it.
The plugin is called "hideEmptyColumns". Even if the text {Q1_SQ001...} is empty, there is still the tag. So the column is NOT empty.

Okay, probably you can center the text by css.
Either insert into the question text (in source code mode)
Code:
<style type="text/css">
th.answertext {
  text-align:center !important;
}
</style>
or if you want to use it generally add it to the end of "template.css" without the <style> tafgs

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • AlessandraAndreotti
  • AlessandraAndreotti's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 weeks ago #166699 by AlessandraAndreotti
Replied by AlessandraAndreotti on topic Hide column in array
Thank you very much for your useful reply.
Best
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose