Saltar apartados

The questionnaire variables

The questionnaire variables are the same data that, as its name suggests, are different for each user who sends it. The variables are used in generating reports with responses from users, so that we can configure what information we want to display.

In addition, variables we can use thank you text, both in the email confirmation (where is activated). By clicking on the button Icono para insertar variables del cuestionario Editor, the list of existing variables, so that, when you click on one of them, will be included automatically in the text box will be displayed.

Desplegable de variables

Inserting variables in the text, they should note that variables are always expressed in double brackets .

There are 2 types:

  • Variables associated with the fields of the questionnaire : its identifier is the name of the field that we assign to each question when we created it. For example, in the following picture a question appears type "radio" whose field name is "turn".

    Ejemplo de variables asociadas a los campos del cuestionario
    If the acknowledgement box write, for example:

    Ejemplo simple del texto de agradecimiento con variables

    When the user submits the questionnaire, that text replacing the variable [[turn]] by the selected value will show in display.

    Texto de agradecimiento que se muestra al usuario.

    In addition to the value specified by the user of the questionnaire, it is also possible to include the text that accompanies a question, following the structure:

    [[set forth: nombre-campo ]]

    Similarly, in scoring questionnaires, we can include the correct answer of the question or the score obtained in the same.

    [[correct: nombre_del_campo ]] : correct answer to a question.
    [[points : nombre_del_campo ]] : score obtained on a question.

  • System variables : are data that generates the application itself and that can be useful. To be able to identify them more easily, they are preceded by an asterisk.
    • * Date : date and time when the user submits the questionnaire.
    • * Handle : number that identifies each sending of the questionnaire, is automatically generated.
    • * IP : IP address from which the questionnaire was sent.
    • * Name of the questionnaire .
    • * Note : should the questionnaire be scoring, we have at our disposal the note obtained by each user.

For example, in the text of gratitude we can add:

Texto de agradecimiento con variable del sistema

and the user, after submitting the questionnaire would be:

Texto que ve el usuario tras enviar el cuestionario

Template variables

Sometimes it can occur we need to include all the form data in the confirmation email or text thanks. For example, in the case of a questionnaire scoring, we can configure that, after sending the user responses, on-screen responses, along with the correct solution; or in the case of a registration, we can send all the data selected by the user in an email if then there is a problem.

In the text editor (thanks box both in the body of the email) we have a button that automatically includes all the variables in the questionnaire.Copiar toda la plantilla de variables

Of course, once inserted, you can eliminate them, reorder them or write explanatory text, as we deem appropriate.

In the central part of the screen you can display the text of Thanksgiving full, along with a couple of options to format certain variables. By default, the template is shown without formatting, but by clicking on the corresponding icons we can vary the format automatically.

Ejemplo de plantilla sin formato

The orange button, Botón para aplicar formato con rótulos as well as separators between variables, added an explanatory in front of every variable tag. For example, in front of the statements it puts the word "Statement", in front of a correct answer adds "Proper", etc.

Ejemplo con rótulos

The blue button Botón para aplicar formato sin rótulos , applies the same format as the orange with the exception of explanatory labels and the last button Botón que elimina cualquier formato aplicado a la plantilla , removes any formatting applied.


Universidad de Alicante
Carretera de San Vicente del Raspeig s/n
03690 San Vicente del Raspeig
Alicante (Spain)

Tel: (+34) 96 590 3400

Fax: (+34) 96 590 3464

For further information:, and for enquiries on this web server:

Carretera San Vicente del Raspeig s/n - 03690 San Vicente del Raspeig - Alicante - Tel. 96 590 3400 - Fax 96 590 3464