Variable Solution Example
In addition to questions and answers, you can also define the correct solution dynamically for each test run. As a result, a wide variety of question templates are possible, which generate different, equivalent questions through the use of random values and provide the appropriate solution in each case.

This variable-dependent adjustment of the correct solution is available for selection, matching, and hotspot interactions. To access this feature, you need to enable the ID display in your user settings.
Explanation of the example’s function
Configuration in the “Variables processed before display” area:
You will need the following variables and conditions to implement this:
- A text variable used in the question that contains the random values for the question.
- A text variable able to hold the correct solution. This variable is initialized with an empty value.
- A condition in which the values of the question are linked to the corresponding IDs of the answers.

Configuration in the questions area:
You need to include the text variable to display the random values in the question.

By changing the solution variable in the ID of the correct answer section, the previous setting of the correct solution to the task is replaced by the answers specified in the condition.

Using the pre-configured question example
| Importieren Sie die Beispielaufgabe: . Wie Sie eine Aufgabe importieren, beschreibt die Seite Inhalte erstellen oder importieren. | ![]() |
| Ändern Sie den Titel der Aufgabe und passen Sie den Text der Aufgabenstellung an. Wenn Sie den Titel der Variable "city" ändern, müssen Sie diese Änderung anschließend auch im Variablen-Tab wiederholen. | ![]() |
| Passen Sie das Hintergrundbild und die entsprechenden Hotspotbereiche an Ihre Fragestellung an. Sie können bestehende Hotspots löschen und ebenso neue hinzufügen. Bei neu hinzugefügten Hotspots wird automatisch eine ID für diese neuen Antwortmöglichkeiten vergeben. Die Standardbezeichnung der ID können Sie individualisieren. Beachten Sie, dass die ID mit einem Buchstaben beginnen muss. | ![]() |
| Prüfen Sie im Tab Variablen die Bedingung und passen Sie diese entsprechend Ihrer Aufgabenstellung und Lösungen an. | ![]() |
| Im Tab Feedback sind Hinweistexte passend zur Städtefrage hinterlegt, passen Sie auch diese an Ihre Fragestellung an. | ![]() |
Speichern Sie die Aufgabe. In der Vorschau können Sie die korrekte Ausführung der erstellen Aufgabe überprüfen. | ![]() |





