Check out the LimeSurvey source code on GitHub!

Condition on subquestion

More
4 years 8 months ago #82141 by Mazi

arielmosto wrote: .multiple-opt-comments ul,.multiple-short-txt ul,.numeric-multi ul {
display: table;
padding: 0%;
margin: 1em;

.multiple-opt-comments ul li,.multiple-short-txt ul li,.numeric-multi ul li
{
display: table-row;


.multiple-opt-comments ul li span.option {
display: table-cell;
vertical-align: baseline;
}

For the multiple choice question without comments the CSS has to look like this:
.multiple-opt ul,.multiple-short-txt ul,.numeric-multi ul {
display: table;
padding: 0%;
margin: 1em;

.multiple-opt ul li,.multiple-short-txt ul li,.numeric-multi ul li
{
display: table-row;


.multiple-opt ul li span.option {
display: table-cell;
vertical-align: baseline;
}


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 8 months ago #82147 by arielmosto
Thanks ! but dont work, Still display de checkbox! The code works perfectly with question type, multiple choice with comments but dont work without comments.

Thanks anyway ! Ariel

Please Log in to join the conversation.

More
4 years 8 months ago #82193 by tpartner
Sorry, my mistake.

Change this line:
$('.multiple-opt li[id^="javatbd"] .option label span').each(function(i){

To this:
$('.multiple-opt li[id^="javatbd"] label span').each(function(i){

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
4 years 8 months ago - 4 years 8 months ago #82205 by arielmosto
Works !!

Thank you very much!

I made a donation!

Ariel
Last Edit: 4 years 8 months ago by arielmosto.

Please Log in to join the conversation.

More
4 years 8 months ago #82262 by Mazi
Thanks for supporting Limesurvey!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form