From 7868a8c29692bb88cfdaac260141d5c572219eb3 Mon Sep 17 00:00:00 2001 From: asiripanich <17020181+asiripanich@users.noreply.github.com> Date: Thu, 30 Jun 2022 18:45:08 +1000 Subject: [PATCH] docs: Add a trip labelling options page. --- docs/dev/front/trip_labelling_options.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/dev/front/trip_labelling_options.md diff --git a/docs/dev/front/trip_labelling_options.md b/docs/dev/front/trip_labelling_options.md new file mode 100644 index 0000000..4f0ecd1 --- /dev/null +++ b/docs/dev/front/trip_labelling_options.md @@ -0,0 +1,10 @@ +## Trip labelling options + +As of e-mission-phone v3.2.3, there are two survey options available for trip labelling: + +- [MULTILABEL](https://user-images.githubusercontent.com/2423263/170624159-ada650ce-1c3e-4fad-8104-9fcfad4fc322.mov): displays two buttons under each trip, one for travel mode and the other for purpose. Note that, only one response can be selected in each button. +- [ENKETO](https://user-images.githubusercontent.com/2423263/170631795-5ca2f330-1626-4709-aa7a-0f63370d5f1f.mov): displays one button that launches an Enketo survey form which allows for greater customisation of question types and display logic. + +By default, the `MULTILABEL` option is used. To change to `ENKETO`, find all `SurveyOptions.MULTILABEL` under the folder `www/js/diary` of your e-mission-phone and replace them with `SurveyOptions.ENKETO`. + +To create your own Enketo survey form, see the instruction in https://github.com/e-mission/e-mission-phone/tree/master/survey-resources. \ No newline at end of file