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:feedback-visual [04.04.2019 15:13] – admin | en:create:feedback-visual [24.10.2019 10:27] – admin | ||
---|---|---|---|
Line 46: | Line 46: | ||
} | } | ||
</ | </ | ||
+ | |||
==== Multiple Values ==== | ==== Multiple Values ==== | ||
Line 90: | Line 91: | ||
{{: | {{: | ||
- | Save the following HTML code as a textblock, for example under the identifier | + | Save the following HTML code as a text in the list fo questions (the following examples assume that it gets the ID "RS01"). |
<code html> | <code html> | ||
Line 102: | Line 103: | ||
<div style=" | <div style=" | ||
<!-- The actual Marking is going to be inserted at the above defined right place --> | <!-- The actual Marking is going to be inserted at the above defined right place --> | ||
- | <img src=" | + | <img src=" |
</ | </ | ||
</ | </ | ||
Line 108: | Line 109: | ||
</ | </ | ||
- | In the HTML code there are two placeholders: | + | The HTML code contains |
- | This can be used accordingly: | + | |
<code php> | <code php> | ||
Line 125: | Line 125: | ||
// Use textblocks (only if $value delivered a valid value) | // Use textblocks (only if $value delivered a valid value) | ||
if ($value > 0) { | if ($value > 0) { | ||
- | | + | |
' | ' | ||
- | '%zValue%' => $zValue | + | '%zValue100%' => round($zValue |
)); | )); | ||
} | } |