This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:functions:put [13.01.2015 15:36] – [Example: Advanced Filter] alexander.ritter | en:create:functions:put [26.09.2020 14:27] – [put()] sophia.schauer | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== put() ====== | ====== put() ====== | ||
- | '' | + | '' |
The function '' | The function '' | ||
Line 49: | Line 49: | ||
</ | </ | ||
- | 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(' | if (value(' | ||
- | question(' | + | question(' |
} elseif (value(' | } elseif (value(' | ||
- | question(' | + | question(' |
} else { | } else { | ||
- | question(' | + | question(' |
} | } | ||
</ | </ | ||
Line 77: | Line 77: | ||
</ | </ | ||
- | The saved code can be used straightforwardly for filters | + | The saved code can be used on later pages for filters with no hassle. |
<code php> | <code php> |