- Posts: 8
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<form action="index.php/printanswers/view?surveyid=675884&amp;printableexport=pdf" method="post">
I have no idea what you tried to do here. Not necessary at all.I copied the twig (header, body, ffoter) files to my custom theme "upload/themes/survey/extends_fruity/views/subviews/mpdf".
{Q00001_SQ001.question}:{Q00001_SQ001.shown}
Not related to plugin www.limesurvey.org/manual/Expression_Managerthomasjanotta wrote: OK, i got it by looking at the demo. Unfortunately Dennis doesn't show how to 'simply' display Q and A like
Code:{Q00001_SQ001.question}:{Q00001_SQ001.shown}
gitlab.com/SondagesPro/coreAndTools/limeMpdf#adapt-html-and-cssthomasjanotta wrote: the limempdf help says that you should copy these twigs to [/upload/...custom_templ/mpdf] for editing it...
DenisChenu wrote:
Not related to plugin www.limesurvey.org/manual/Expression_Managerthomasjanotta wrote: OK, i got it by looking at the demo. Unfortunately Dennis doesn't show how to 'simply' display Q and A like
Code:{Q00001_SQ001.question}:{Q00001_SQ001.shown}
Yes, when you want to adopt to the company design, you have toDenisChenu wrote:
gitlab.com/SondagesPro/coreAndTools/limeMpdf#adapt-html-and-cssthomasjanotta wrote: the limempdf help says that you should copy these twigs to [/upload/...custom_templ/mpdf] for editing it...
Only if needed
Expression Script === Expression Manager, just name update.thomasjanotta wrote:
DenisChenu wrote:
Not related to plugin www.limesurvey.org/manual/Expression_Managerthomasjanotta wrote: OK, i got it by looking at the demo. Unfortunately Dennis doesn't show how to 'simply' display Q and A like
Code:{Q00001_SQ001.question}:{Q00001_SQ001.shown}
But in the ES - questions with subquestions
www.limesurvey.org/manual/ExpressionScript_examples
Only manual way …thomasjanotta wrote: Still looking for groupname.
<section><h1>Teil I</h1> <h2>Bekanntheit</h2> {if(Q1_1=="Y","<checkbox-checked>","<checkbox>")} {Q1_1.question}<br /> {if(Q1_2=="Y","<checkbox-checked>","<checkbox>")} {Q1_2.question}<br /> {if(Q1_3=="Y","<checkbox-checked>","<checkbox>")} {Q1_3.question}<br /> {if(Q1_4=="Y","<checkbox-checked>","<checkbox>")} {Q1_4.question}<br /> {if(Q1_5=="Y","<checkbox-checked>","<checkbox>")} {Q1_5.question}<br /> {if(Q1_6=="Y","<checkbox-checked>","<checkbox>")} {Q1_6.question}<br /> {if(Q1_7=="Y","<checkbox-checked>","<checkbox>")} {Q1_7.question}<br /> {if(Q1_8=="Y","<checkbox-checked>","<checkbox>")} {Q1_8.question}<br /> </section> <section> <h2>Welches dieser Tiere haben Sie als Letztes gegessen?</h2> {if(Q1_1.NAOK!="Y","",if(Q2==1, "<radio-checked> "+Q1_1.question,"<radio> "+ Q1_1.question))} {if(Q1_1.NAOK=="Y","<br />","")} {if(Q1_2.NAOK!="Y","",if(Q2==2, "<radio-checked> "+Q1_2.question,"<radio> "+ Q1_2.question))} {if(Q1_2.NAOK=="Y","<br />","")} {if(Q1_3.NAOK!="Y","",if(Q2==3, "<radio-checked> "+Q1_3.question,"<radio> "+ Q1_3.question))} {if(Q1_3.NAOK=="Y","<br />","")} {if(Q1_4.NAOK!="Y","",if(Q2==4, "<radio-checked> "+Q1_4.question,"<radio> "+ Q1_4.question))} {if(Q1_4.NAOK=="Y","<br />","")} {if(Q1_5.NAOK!="Y","",if(Q2==5, "<radio-checked> "+Q1_5.question,"<radio> "+ Q1_5.question))} {if(Q1_5.NAOK=="Y","<br />","")} {if(Q1_6.NAOK!="Y","",if(Q2==6, "<radio-checked> "+Q1_6.question,"<radio> "+ Q1_6.question))} {if(Q1_6.NAOK=="Y","<br />","")} {if(Q1_7.NAOK!="Y","",if(Q2==7, "<radio-checked> "+Q1_7.question,"<radio> "+ Q1_7.question))} {if(Q1_7.NAOK=="Y","<br />","")} {if(Q1_8.NAOK!="Y","",if(Q2==8, "<radio-checked> "+Q1_8.question,"<radio> "+ Q1_8.question))} {if(Q1_8.NAOK=="Y","<br />","")} </section> <section> <h2>Bitte bewerten Sie den Geschmack von {Q2.shown}</h2> {if(Q3b==1,"<radio-checked>","<radio>")} ziemlich eklig<br /> {if(Q3b==2,"<radio-checked>","<radio>")} der Hunger treibt's rein<br /> {if(Q3b==3,"<radio-checked>","<radio>")} geht so<br /> {if(Q3b==4,"<radio-checked>","<radio>")} ganz lecker<br /> {if(Q3b==5,"<radio-checked>","<radio>")} super toll<br /> <br /> <pagebreak> <table class="table table-bordered"> <thead> <tr class="tablehead"> <th style="width:25%">#</th> <th class="tablecenter" style="width:15%">ziemlich eklig</th> <th class="tablecenter" style="width:15%">der Hunger treibt's rein</th> <th class="tablecenter" style="width:15%">geht so</th> <th class="tablecenter" style="width:15%">lecker</th> <th class="tablecenter" style="width:15%">super toll</th> </tr> </thead> <tbody> <tr> <th>{Q2.shown}</th> <td class="tablecenter">{if(Q3b.NAOK==1,"<radio-checked>","<radio>")}</radio></radio-checked></td> <td class="tablecenter">{if(Q3b.NAOK==2,"<radio-checked>","<radio>")}</radio></radio-checked></td> <td class="tablecenter">{if(Q3b.NAOK==3,"<radio-checked>","<radio>")}</radio></radio-checked></td> <td class="tablecenter">{if(Q3b.NAOK==4,"<radio-checked>","<radio>")}</radio></radio-checked></td> <td class="tablecenter">{if(Q3b.NAOK==5,"<radio-checked>","<radio>")}</radio></radio-checked></td> </tr> </tbody> </table> </section>
Why should he? It's all here:Unfortunately Dennis doesn't show how to 'simply' display Q and A like
{Q00001_SQ001.question}:{Q00001_SQ001.shown}