- Posts: 14
- Thank you received: 5
Ask the community, share ideas, and connect with other LimeSurvey users!
{{ C.Html.form(aSurveyInfo.printAnswersHeadFormQueXMLUrl, 'post') }} {{ gT("Export these responses to QXML:") }} <button class="btn btn-default" type="submit"> {{ gT("queXMLPDF export") }} </button> {{ C.Html.endForm }}
aSurveyInfo.printAnswersHeadFormQueXMLUrl
aSurveyInfo.printAnswersHeadFormQueXMLUrl
{{ C.Html.form(aSurveyInfo.printAnswersHeadFormQueXMLUrl, 'post') }} {{ gT("Export these responses to QXML:") }} <button class="btn btn-default" type="submit"> {{ gT("queXMLPDF export") }} </button> {{ C.Html.endForm }} <script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ $('form').each(function(i) { var actionAttr = $(this).attr('action'); if (typeof actionAttr === typeof undefined || actionAttr === false) { $(this).attr('action', '/pathToLimeSurvey/index.php/printanswers/view?surveyid={{ aSurveyInfo.sid }}&printableexport=quexmlpdf'); } }); }); </script>
{% if (aSurveyInfo.aCompleted.aPrintAnswers.show == true) %} {% set printQxmlPDF = '/yourPath/index.php?r=printanswers/view&surveyid=' ~ aSurveyInfo.oSurvey.sid ~ '&printableexport=quexmlpdf' %} {{ C.Html.form(printQxmlPDF, 'post') }} {{ gT("Umfrage als PDF exportieren (QXML PDF):") }} <button class="btn btn-default" type="submit">{{ gT("PDF export") }}</button> {{ C.Html.endForm }} {% endif %}