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
Last revisionBoth sides next revision
en:create:functions:answersprint [16.04.2015 17:20] – [Example 2] alexander.ritteren:create:functions:answersprint [03.09.2015 21:14] – [Tips] admin
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 46: Line 48:
 ===== Example 2 ===== ===== Example 2 =====
  
-The questionnaire consists if two parts: after a couple of questions regarding the master data (pages 1 and 2), there is a section concerning the respondent's company (pages 3 to 5), and then a section regarding their employment situation. The respondent should get both parts separately in print view,  page 6 should not appear in print view.+The questionnaire consists of two parts: after a couple of questions regarding the master data (pages 1 and 2), there is a section concerning the respondent's company (pages 3 to 5), and then a section regarding their employment situation. The respondent should get both parts separately in print view,  page 6 should not appear in print view.
  
 At the top of page 3 a //PHP code// element with the following content is inserted in order to do this: At the top of page 3 a //PHP code// element with the following content is inserted in order to do this:
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