Pogues icon indicating copy to clipboard operation
Pogues copied to clipboard

Check if a variable used in a control is declared

Open romaintailhurat opened this issue 3 years ago • 0 comments

A lot of error happening when generating a questionnaire are due to missing variables in control expressions.

In order to smooth the process, we will implement a global check in Pogues :

  1. when a designer click on the "Validate" button of a sequence or question
  2. when a variable is deleted a. when a question is deleted (thus the variable(s) it contains) b. when a collected, calculated or external variable is deleted

The resulting error should be displayed in the questionnaire structure view, as it is done for example for structural problems (eg a questionnaire without any sequence)

romaintailhurat avatar Dec 02 '21 16:12 romaintailhurat