[[put()]]
 

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:create:functions:put [13.01.2015 15:38]
alexander.ritter [Example: Advanced Filter]
en:create:functions:put [16.01.2015 19:07] (current)
alexander.ritter [Example: Calculations]
Line 49: Line 49:
 </code> </code>
  
-Determining the scale index even during the survey is particularly useful if you want to inform the participant of the result, or if it is required for a filter:+Determining the scale index during the survey is particularly useful if you want to inform the participant of the result, or if it is required for a filter:
  
  
 <code php> <code php>
 if (value('AB03_01') > 100) { if (value('AB03_01') > 100) {
-  question('FU03');  // question for people who rate the construct with a higher extent +  question('FU03');  // question for people who rate the construct higher on the scale
 } elseif (value('AB03_01') > 50) { { } elseif (value('AB03_01') > 50) { {
-  question('FU02');  // Frage für Personen mit mittlerer Ausprägung beim Konstrukt+  question('FU02');  // question for people who rate the construct averagely on the scale
 } else { } else {
-  question('FU01');  // Frage für Personen mit geringer Ausprägung beim Konstrukt+  question('FU01');  // question for people who rate the construct lower on the scale
 } }
 </code> </code>
en/create/functions/put.txt · Last modified: 16.01.2015 19:07 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki