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:smartphones [22.04.2018 18:00] – christian.kutz | en:create:smartphones [22.04.2018 18:11] – christian.kutz | ||
---|---|---|---|
Line 122: | Line 122: | ||
+ | For the following code example, it is assumed that the block " | ||
- | Zudem wird ein Text angelegt (Texte im Fragebogen), | ||
- | Für das folgende Code-Beispiel wird davon ausgegangen, | ||
- | question(' | + | <code php> |
+ | question(' | ||
if ((value(' | if ((value(' | ||
- | text(' | + | text(' |
- | buttonHide(); | + | buttonHide(); |
} | } | ||
- | Hinweis: Dieser PHP-Code erlaubt das Ausfüllen mittels Tablet. Um auch dies zu verbieten, ergänzen Sie eine Prüfung or (value(' | + | </ |
- | Hinweis: Der PHP-Code soll ein versehentliches Ausfüllen auf dem falschen Gerät vermeiden. Durch gezielte Manipulation können Teilnehmer den Fragebogen u.U. auch auf einem Gerät ausfüllen, das eigentlich nicht zugelassen werden sollte: Einige Browser (z.B. Chrome) können ein Mobilgerät emulieren, andere Browser können eine gefälschte Browserkennung übermitteln. | ||
+ | **Note:** This PHP code allows filling using Tablet. To prohibit this too, add a check or (value(' | ||
- | Fragebogen nur für Computer | ||
- | Einige Inhalte sind für Smartphones oder sogar für Tablet-Computer nicht geeignet. Das können zum Beispiel sein… | ||
- | Komplexe kombinierte Fragen, die kompakt detaillierte Informationen abfragen | + | **Note:** The PHP code is designed to avoid inadvertent filling on the wrong device. Through targeted manipulation, participants may also be able to fill out the questionnaire on a device that should not be allowed: some browsers |
- | Rangordnungs-Fragen, | + | |
- | Tests, die eine Tastatur und/oder Maus als Eingabegerät benötigen | + | |
- | Videos, die in einer ruhigen Umgebung | + | |
- | Abbildungen von Internetseiten, | + | |
- | Mittels Filter kann man Teilnehmern, | + | |
- | Frage/Baustein „Gerät und übermittelte Variablen“ anlegen | + | |
- | Freundlichen Text anlegen | + | ====== Questionnaire for computers only ====== |
- | Zu Beginn des Fragebogens mittels Filter Teilnehmern mit einem Mobilgerät den Text anzeigen | + | |
- | question(' | + | Some content is not suitable for smartphones or even tablet computers. These could be for example... |
+ | |||
+ | |||
+ | * Unordered List ItemComplex combined questions that compactly retrieve detailed information | ||
+ | * Ranking questions that require a lot of space, or questions that should measure an implicit setting based on reaction times, e.g. a [[: | ||
+ | * Tests that require a keyboard and/or mouse as input device | ||
+ | * Videos to be viewed in a quiet environment | ||
+ | * Images of Internet pages as they look on a normal computer whose contents would not be visible on a small smartphone display | ||
+ | |||
+ | You can use filters to inform subscribers who use a mobile device that it is not suitable for filling in the form. The procedure is equivalent to rejecting participants in smartphone studies (see above). | ||
+ | |||
+ | * Create question/ | ||
+ | * Create friendly text (e.g. "GG02") | ||
+ | * Display the text at the beginning of the questionnaire using a filter Participants with a mobile device | ||
+ | |||
+ | <code php> | ||
+ | question(' | ||
if ((value(' | if ((value(' | ||
- | text(' | + | text(' |
- | buttonHide(); | + | buttonHide(); |
} | } | ||
- | Verwenden Sie die Variablen-Übersicht, | + | </ |
+ | |||
+ | Use the **Variables overview** to determine the possible values of the device format for the filter. Code 4 describes a mobile device whose format cannot be exactly determined, Code 5 describes | ||
- | Bearbeit |