Table of Contents
questionnaire Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" yes
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" unknown
Installation
This plugin requires the sqlite plugin. Install it first.
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
- upped version (2024-06-24 13:02)
- spell questionnaire correctly (2024-06-24 13:02)
- check user on handling data and shown admin panel (2024-06-24 12:39)
- cleanup (2024-06-04 14:10)
- added german language (2024-06-04 14:03)
- make translatable and finalize data downloading (2024-06-04 13:58)
- first initial work (2024-06-04 11:46)
Workflow
The plugin allows to define a questionnaire using a simple, YAML based configuration defined in syntax.
Once an administrator has activated the questionnaire, logged in users can answer the questions. Administrators can close the questionnaire again.
Only one questionnaire per page can be defined!
Syntax
The YAML syntax to configure the questionnaire needs to be placed between <questionnaire></questionnaire>
tags.
Here is an example:
<questionnaire> wikis: q: Which Wikis do you know? t: multi a: - DokuWiki - MediaWiki - TikiWiki happyness: q: How happy are you with DokuWii? t: single a: - very happy - somewhat happy - somewhat unhappy - very unhappy improvements: q: How would you improve the Wiki? t: text </questionnaire>
As you can see, each question is defined by an arbitrary key. Under this key the following properties can be defined:
q
- The full questiont
- The type of question, currently available:multi
- The user can pick one or more answers (checkboxes)single
- The user needs to pick exactly one answer (radio boxes)text
- The user may enter arbitrary text
a
- A list of possible answers for multi and single types
All answers are mandatory before the data can be submitted. Users can only submit their data once.
Accessing the Data
Administrators can download the available answers as CSV file.