Actions

Translations

Questions - introduction/23/de: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 1: Line 1:


<syntaxhighlight lang="php" enclose="div">Hello {TOKEN:FIRSTNAME}. We sent an email to you using this address {TOKEN:EMAIL}. Is this correct?
<syntaxhighlight lang="php" enclose="div">
What do you as a {TOKEN:ATTRIBUTE_1} think about your
Hello ?
<script type="text/javascript" language="Javascript">;
  var job='{TOKEN:ATTRIBUTE_1}';
  if (job=='worker') {
      document.write ('bosses')
  } else {
      document.write('workers')
  }
</script>
?
</syntaxhighlight>
</syntaxhighlight>

Revision as of 17:01, 25 June 2018

Message definition (Questions - introduction)
<syntaxhighlight lang="php">What do you as a {TOKEN:ATTRIBUTE_1} think about your {if(TOKEN:ATTRIBUTE_1=='worker','bosses','workers')}?</syntaxhighlight>
Hello ?