Skip to content

Automatically activate a questionnaire at the end of the course

Request

Some days after the start or end of the course, the participants of a course should give feedback on the course by filling in a questionnaire.

Requirement

Procedure

Define visibility rule

A rule must be defined in the tab Visibility on the survey element to determine when the element should be visible. In simple configuration mode this is only possible with absolute data. To work with relative data, you have to switch to the expert mode. This allows you to control that the questionnaire is only displayed at the end of the course, for example, with a duration of one week.

Step 1: Open expert mode

  1. Navigate to the survey in the course editor
  2. Open tab "Visibility"
  3. Click on the button "Show expert mode"

Step 2a: Create expert rule: Duration after course start

Add the following expert rule:

(today <= getCourseBeginDate(0) + 7d)

This expert rule says that the questionnaire should be visible for 7 days after the start of the course.
The number of days can be adjusted as desired.

Step 2b: Create expert rule: Duration after course end

Add the following expert rule:

(getCourseEndDate(0) >= today) & (getCourseEndDate(0) + 7d >= today)

This expert rule says that the questionnaire should be visible for 7 days after the end of the course.
The number of days can be adjusted as desired.

Step 3: Save

Save your expert rules and publish your course again.

Add reminder

The reminder tool allows you to send a reminder, e.g. 3 days after the start or end of the course, for participants to complete the questionnaire.

Add reminder:

  1. In the drop-down menu "Administration" opens the item "Reminder".
  2. Click the button "Create reminder". A new reminder will open.
  3. Enter a description
  4. Add conditions:

    1. After course start

    2. after course end

  5. Fill in mail subject and text

  6. Save