Condition on subquestion

More
4 years 11 months ago #82141 by Mazi
Mazi replied the topic: Condition on subquestion

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 11 months ago #82147 by arielmosto
arielmosto replied the topic: Condition on subquestion
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 11 months ago #82193 by tpartner
tpartner replied the topic: Condition on subquestion
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 11 months ago - 4 years 11 months ago #82205 by arielmosto
arielmosto replied the topic: Condition on subquestion
Works !!

Thank you very much!

I made a donation!

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

Please Log in to join the conversation.

More
4 years 11 months ago #82262 by Mazi
Mazi replied the topic: Condition on subquestion
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.

Start now!

Just create your account and start using Limesurvey today.

Register now