# Questionnaires

## <span class="mw-headline" id="bkmrk-usages-1">Usages</span>

Questionnaires are used for data collection for external parties.

TS questionnaires can be used in two modes

- A public page everyone with a link can access
- Specific requests sent to a user to add information to a record

Access are given by adding an interface to an existing entity and defining access to fields.

## <span class="mw-headline" id="bkmrk-interfaces-and-quest-1">Interfaces and questionnaires</span>

Normal questionnaire is a link that creates a new record that an anonymous user populates.

Returning questionnaires will be sent to a specific user, and contains access token for an existing record. Tokens are normally sent by status actions, normally to an email field on the record.

### <span class="mw-headline" id="bkmrk-instructions-1">Instructions</span>

Learn how to set up a [questionnaires](https://docs.tsnocode.com/books/features/page/questionnaires "Tutorial/Questionaires") and [Interfaces](https://wiki.tsnocode.com/index.php?title=Integration/Interface "Integration/Interface")

## <span class="mw-headline" id="bkmrk-quiz-and-training-mo-1">Quiz and training module</span>

In the quiz module you can set up questions, answers and scores. Afterwards you can set up a questionnaire, with random questions that the user is asked.

Questions are ordered into a structure

1. Domain: Grouping just for order things
2. Topic: Areas questions will be randomized in
3. Question
4. Answer

### <span class="mw-headline" id="bkmrk-instructions-3">Instructions</span>

1. Set up questions: Designer &gt; Ressources &gt; Questions 
    1. Create a Domain
    2. Create a Topic
    3. Create multiple questions 
        1. Add answers and set the correct option
2. Create a questionnaire 
    1. Add a field of type: eLearning: Quiz suqestion list 
        1. Add a number of question you want asked
        2. Point to the Topic you just created