Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:create:functions:answersprint [19.04.2015 11:16] – [Example 2] alexander.ritteren:create:functions:answersprint [09.03.2022 10:28] (current) – [Example 1] ruth.noppeney
Line 11: Line 11:
  
 The ''answersPrint()'' function calls up ''answers'' repeatedly. Therefore, information for ''[[:en:create:functions:answers|answers()]]'' also applies fully for ''answersPrint()''. The ''answersPrint()'' function calls up ''answers'' repeatedly. Therefore, information for ''[[:en:create:functions:answers|answers()]]'' also applies fully for ''answersPrint()''.
 +
 +If you enable the back button in the questionnaire and use filter questions, the following situation may occur: The respondents is shown a filtered question, then uses the back button, changes an earlier answers, and due to the filter, the other question is not displayed in the subsequent questionnaire, anymore. Nonetheless, ''answersPrint()'' will display the question in the print view, because it has been asked.
  
 ===== Example 1 ===== ===== Example 1 =====
Line 31: Line 33:
 <code php> <code php>
 answersPrint('all'); answersPrint('all');
-text('printButton');+
 </code> </code>
  
-The "printButtontext element has the following content.+Add the following HTML-code below -- either as text (//presentation// "HTML-Code") from the list of questions or as //HTML-element// -- in order to display a "print" button that will call up the function "file" -> "print" of the browser.
  
  
en/create/functions/answersprint.txt · Last modified: 09.03.2022 10:28 by ruth.noppeney
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki