Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.52 KB

File metadata and controls

40 lines (22 loc) · 1.52 KB

VTL Tools

Introduction and use case

Insee's questionnaire factory overview

stack overview

Specifying questions requires some script language (logic flow, variables)

Example of a question specification and rendering:

Example of complex questionnaire with controls.

Controls are currently specified in a custom XPath-like language that we want to replace by VTL. We need:

  • JavaScript VTL editor to include in Pogues for the specification of controls
  • A JavaScript VTL interpretor for the rendering next generation of CAPI questionnaires

For the transition:

  • Eno needs to translate XPath controls into VTL for Lunatic
  • We might need to translate from VTL to XPath for the current XFomrs platform

Nota bene: our needs are limited to simple validation expressions on scalars.

VTL Tools in JavaScript

The editor

Inclusion of VTL in the Lunatic editor.

The interpretor