Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:pagestop [12.12.2014 12:14] – created alexander.ritteren:create:functions:pagestop [12.12.2014 17:34] alexander.ritter
Line 3: Line 3:
 ''void **pageStop**()'' ''void **pageStop**()''
  
-Die Funktion verhindert, dass weitere Inhalte der Fragebogen-Seite angezeigt bzw. ausgeführt werden.+This function prevents further contents of a questionnaire page being shown or executed.
  
-===== Beispiel ===== 
  
-Im folgenden Beispiel wird ''pageStop()'' im Zusammenspiel mit einem Screen-Out Filter verwendet. So können auf der Screen-Out Seite noch weitere Inhalte (z.B. Fragen) platziert werden.+===== Example =====
  
-Der Filter zeigt Personendie bei Frage SK01 mit dem Wert 1 (jünger als 18oder 7 (älter als 65geantwortet haben, den Textbaustein "screenout" und blendet den Weiter- und Zurück-Knopf aus, sodass das Interview faktisch beendet wird.+In the following example''pageStop()'' is combined with a screen out filter. This means further content (e.g. questionscan still be put on the screen out page.
  
-Unter diesem PHP-Code können weitere Elemente (Fragen, PHP-Code, ...) auf der Seite platziert werden, auch per "Hineinziehen" (Drag Drop) in die Fragebogen-SeiteDiese Elemente werden den abgewiesenen Teilnehmer dank ''pageStop()'' nicht mehr angezeigt.+The filter shows the text element "screenout" and hides the Next and Back buttons for people who answered question SK01 with value 1 (younger than 18) or 7 (older than 65). This means the questionnaire is effectively terminated. 
 + 
 +Other elements (questions, PHP code, ...) can be put on the page beneath this PHP code. They can also be put on the questionnaire page by drag drop. ''pageStop()'' ensures these elements are no longer shown to participants who do not qualify
  
 <code php> <code php>
Line 21: Line 22:
 </code> </code>
  
-Ohne ''pageStop()'' müsste man die weiteren Element in den Filter aufnehmen...+If ''pageStop()'' is not used, the other elements have to be included in the filter...
  
 <code php> <code php>
Line 33: Line 34:
 </code> </code>
  
-... oder man würde die Inhalte auf eine zusätzliche Seite (nach der aktuellenlegen, sodass auf der Seite keine Inhalte mehr folgen.+...or the content has to be inserted onto an additional page (after the current oneso that there is no more content on the page.
  
  
en/create/functions/pagestop.txt · Last modified: 07.12.2023 12:05 by empschul
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki