answer display columns error

Plus d'informations
il y a 1 an 2 mois #142993 par Liod_DS
Liod_DS a créé le sujet : answer display columns error
Hi all.

I have a question... when i display some answer on multi columns, and i put a filter on this answer ... the sistem apply the filter AFTER the count of the items, so i have a really bad display of the answers...

I tested even on the standard template , same messy positioning, have someone coded an hotfix or a fast way to get rid of the problem ?

image of an example attached, (27 answer item, filtred to 4 with "none of these" always visibile) where the first column is empty, the second have 1 item and the last 4...

i can't really change the columns number, i have to build some sort of jquery to repos all the visibile answer ?

keep improving
Pièces jointes :

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #142995 par jelo
jelo a répondu au sujet : answer display columns error
Which version/build of Limesurvey?
You should open a bug ticket for that.

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #142997 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error
Version 2.54.1+161010

i've fille a bug request this summer for a pretty similar problem (same as this but on a single)

bugs.limesurvey.org/view.php?id=10995

marked as solved... maybe is my installation that cause some problem :\

keep improving

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #142999 par jelo
jelo a répondu au sujet : answer display columns error
Open a new one and point to your old bugticket. If you checked it with the default template there is only a small chance that the issue is caused by your installation.
Les utilisateur(s) suivant ont remercié: Liod_DS

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #143001 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error
Done,

bug_tracker: bugs.limesurvey.org/view.php?id=11787

thanks for your time !

keep improving

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #143006 par DenisChenu
DenisChenu a répondu au sujet : answer display columns error
Maybe : don't set coluln width attribute : leave it empty.

Add a class : for example col3

And add this in your template.css (at end )
.col3 .answer-item {
    width: 33%;
}

Not perfect but can do the trick.

The order seems inlined like this :

1 2 3
4 5 6
7 8 9

Not like this:
1 4 7
2 5 8
3 6 9

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #143008 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error
talking for my template and the new "default":

The class "col-sm-12" override my request going "width:100%"

It seem like the bootstrap gridsistem ... i think i can't just style a div inside this rule...

mmmm :|

keep improving
Pièces jointes :

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #143010 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error
Maybe i resolved ...

Using the answer relevance field it seems to work like expected....

Not very quick... a have 82 + answer for each question (15+) ... but for my early test it works...

keep improving

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #143012 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error

Liod_DS écrit: Maybe i resolved ...

Using the answer relevance field it seems to work like expected....

Not very quick... a have 82 + answer for each question (15+) ... but for my early test it works...


not true :side:

bad testing and good luck ...

i'm stuck :angry:

keep improving

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois - il y a 1 an 2 mois #143014 par DenisChenu
DenisChenu a répondu au sujet : answer display columns error
I just make a quick test updated with firebug the width.

And with
.col3 .col-sm-12 {
    width: 33% !important;
}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Dernière édition: il y a 1 an 2 mois par DenisChenu.

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois - il y a 1 an 2 mois #143017 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error
we need to put the upper container at 100% width
.col-sm-12 .answer{ 
width:100% !important;
}

but still a lot messed up :|

keep improving
Dernière édition: il y a 1 an 2 mois par Liod_DS. Raison: format

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois - il y a 1 an 2 mois #143020 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error
i think i have to set
display:none;
all the empty <div>s ... in this case i can get it to work... i'm not a jQuery expert but with some selector is maybe possible...

something like :
  $(checkBoxNotDisplay).parent().closest('div').attr("display","none");

not skilled enough to find the checkboxes.... maybe tomorrow ... (any help would be appreciated :P)

keep improving
Dernière édition: il y a 1 an 2 mois par Liod_DS.

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #143036 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error
done,

css:
.col3  .col-sm-12 {
    width: 33%;
}
 
.col-sm-12 .answer{
    width: 100% !important;
}
.col-sm-12 .questiontext{
    width: 100% !important;
}

js
<script type="text/javascript" charset="utf-8">		
	$(document).ready(function(){
 $('div[id^="javatbd"][style*="display: none"]').each(function(i) {
	$(this).parent().closest('div').css("display","none");
	});
	});
</script>
 

keep improving

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois - il y a 1 an 2 mois #143037 par DenisChenu
DenisChenu a répondu au sujet : answer display columns error
Arg ....

You're totally right ..... bug reported about this part : bugs.limesurvey.org/view.php?id=11738

Already fixed in 3.0 release, but hardest to fix it for 2.50

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Dernière édition: il y a 1 an 2 mois par DenisChenu.

Connexion pour participer à la conversation.

Plus d'informations
il y a 1 an 2 mois #143038 par Liod_DS
Liod_DS a répondu au sujet : answer display columns error
yeah i can understand that!

it's a pretty invasive fix (the user can see the js working) but it works ... ( i hope it don't break the responsivness)

thanks for the support!

keep improving

Connexion pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!