Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleTABLE OF CONTENTS
Table of Contents
minLevel2
maxLevel4

English | Deutsch


Some users wish that the description of the next or continue button on the second to last page carries the description "submit" instead of "next" or "continue".   

Info
Caution:

This programming is only useful, when the survey does not use a "back"-button.

 
  • Create a user-defined variable. (Survey menu

->
  • Project Properties

->
  • User-defined variables)

 

  • Go to the questionnaire editor and create a recoding trigger on the first page:

->
    • Execution position "Directly"

->
    • Also execute trigger in preview mode: Yes

->
    • Execute this trigger multiple times in one survey session: Yes

->
    • Detail configuration: c_0001 -> Value: "next" (or whatever you want the button to be called throughout the majority of the survey; CAUTION: Make sure to use "" around the word)

Image Removed Image Added
  • Create another recoding trigger on the page, which is second to last:

->
    • Execution position "Directly"

->
    • Also execute trigger in preview mode: Yes

->
    • Execute this trigger multiple times in one survey session: Yes

->
    • Detail configuration: c_0001 -> Value: "Submit" (or whatever you want the button to say on the second to last page)

 Image Added
    Image Removed

    • Now move to Questionaire editor

    ->
    • Laguage editor

    ->
    • Survey messages

    ->
    • Label for Submit button: #c_0001#

    Image Removed

    EFS - Uniform distribution in Random-Trigger

    If you use a Random-Trigger with a uniform distribution and you have infinite participants the query for the trigger is very complex, because it runs through all participants.
    As a consequence the installtion will be very slow, participants will be rejected from your survey and the trigger loads for ever.

    Instead of using a Random-Trigger -> Work with user-defined-variables + Recoding-Trigger and Modulo(mod)

    What is Modulo?
    Modulo (mod) is a mathematical function that names the remainder by dividing two integers.
    Example: 10 mod 3 = 1 (10:3 = 3 -> rest 1) 
    14 mod 5 = 4 (14:5 = 2 -> rest 4)
    16 mod 3 = 1 (16:3 = 5 -> rest 1)

    Solution:
    Recoding-Trigger with LFDN and Mod

    What is  lfdn?
    Every participant has a unique lfdn (participants consequente number). If you use this number with mod you create also a random trigger with a uniform distribtution.

    Setup uniform distribution for numbers 1-5

    1. Setup User-defined-variables (Project properties -> user-defined-variables -> Number of user-defined-variables: 1)

    2. Jump to the page where you wanna setup your random uniform distribution

    3. Create Recoding Trigger (Suvey-Menu -> Questionnaire-Editor -> Page-> Trigger -> Recoding-Trigger)

    Settings of the Trigger:Image Removed

    Detail configuration:

    Image Removed

    Variable to be recoded: c_000x

    Value: MOD(#lfdn# , 5 ) + 1

    For 6 Random-numbers use 6 instead of 5..
    If you wanna see the values of the lfdn and c_000x (user-defined-variable) use the following code in the questionnaire text or where you want

    Image RemovedImage Added