Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Condition on subquestion

Condition on subquestion 4 years 5 months ago #82141

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
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'"
The administrator has disabled public write access.

Condition on subquestion 4 years 5 months ago #82147

  • arielmosto
  • arielmosto's Avatar
  • Offline
  • Junior Lime
  • Posts: 34
  • Karma: 0
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
The administrator has disabled public write access.

Condition on subquestion 4 years 5 months ago #82193

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
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.
The administrator has disabled public write access.

Condition on subquestion 4 years 5 months ago #82205

  • arielmosto
  • arielmosto's Avatar
  • Offline
  • Junior Lime
  • Posts: 34
  • Karma: 0
Works !!

Thank you very much!

I made a donation!

Ariel
Last Edit: 4 years 5 months ago by arielmosto.
The administrator has disabled public write access.

Condition on subquestion 4 years 5 months ago #82262

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
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'"
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.289 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form