- Posts: 31
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<tbody> <tr> <td>Allgemeine....</td> <td> <div class="form-check"><input [b]checked="checked"[/b] class="form-check-input" disabled="disabled" id="checkCheckedDisabled" type="checkbox" value="" /></div> </td> <td> <div class="form-check"><input class="form-check-input" disabled="disabled" id="checkDisabled" type="checkbox" value="" /></div> </td> </tr>
Please Log in to join the conversation.
<td><input class="form-check-input" disabled="disabled" id="checkCheckedDisabled" type="checkbox" {if(Frage1_SQ001 == 'Y', "checked"', '')} /></td>
{if(Frage1_SQ001 == 'Y', "checked"', '')}
Please Log in to join the conversation.
<td>{if(Frage1_SQ001 == 'Y', '<input checked="checked" class="form-check-input" disabled="disabled" id="checkCheckedDisabled" type="checkbox" />', '<input class="form-check-input" disabled="disabled" id="checkCheckedDisabled" type="checkbox" />')}</td>
Please Log in to join the conversation.
Passiert bei mir nicht.d.h. wenn ich den Quellcode Editor nochmal öffne, ist der Teil zwischen {} komplett weg.
Please Log in to join the conversation.
<table class="table" style="width:60%"> <tbody> <tr> <th style="width:30%">{Q0.question}</th> <th style="text-align:center;width:15%">Gegebene Antwort(en)</th> <th style="text-align:center;width:15%">Richtige Antwort</th> <tr> <td>{Q0_SQ001.question}</td> <td> {if(Q0_SQ001=="Y",'<div class="form-check"><input class="form-check-input" type="checkbox" checked disabled></div>','<div class="form-check"><input class="form-check-input" type="checkbox" disabled></div>')} </td> <td> </td> </tr> <tr> <td>{Q0_SQ002.question}</td> <td> {if(Q0_SQ002=="Y",'<div class="form-check"><input class="form-check-input" type="checkbox" checked disabled></div>','<div class="form-check"><input class="form-check-input" type="checkbox" disabled></div>')} </td> <td> <div class="form-check"><input class="form-check-input" type="checkbox" checked disabled></div> </td> </tr> <tr> <td style="width:30%">{Q0_SQ003.question}</td> <td style="text-align:center;width:15%"> {if(Q0_SQ003=="Y",'<div class="form-check"><input class="form-check-input" type="checkbox" checked disabled></div>','<div class="form-check"><input class="form-check-input" type="checkbox" disabled></div>')} </td> <td style="text-align:center;width:15%"> <div class="form-check"><input class="form-check-input" type="checkbox" checked disabled></div> </td> </tr> </tbody> </table>
<style> td .form-check { text-align:center; } td .form-check .form-check-input { float: none; } </style>
<tr> <td>{Q0_SQ003.question}</td> <td><div class="form-check"><input class="form-check-input" type="checkbox" {if(Q0_SQ003=="Y","checked",'')} disabled></div></td> <td><div class="form-check"><input class="form-check-input" type="checkbox" checked disabled></div></td> </tr>
<tr> <td>{Q0_SQ001.question}</td> <td><div class="form-check"><input class="form-check-input" type="checkbox" {ch01} disabled></div></td> <td></td> </tr> <tr> <td>{Q0_SQ002.question}</td> <td><div class="form-check"><input class="form-check-input" type="checkbox" {ch02} disabled></div></td> <td></td> </tr> <tr> <td>{Q0_SQ003.question}</td> <td><div class="form-check"><input class="form-check-input" type="checkbox" {ch03} disabled></div></td> <td><div class="form-check"><input class="form-check-input" type="checkbox" checked disabled></div></td> </tr>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.