Tangerine icon indicating copy to clipboard operation
Tangerine copied to clipboard

Feature: On-device form creation using pre-populated questions

Open chrisekelley opened this issue 2 years ago • 0 comments

User story: User creates form on the device while in the field using a predefined question template. The idea is to allow Teachers to create new sections in the form so that they can test on different items. Here we can use a predefined question bank to allow them to do it. Think that all/most questions are Yes/No type. So we need to store the label () and the value. There will be scoring as well in those new sections. And it must come in CSV. If we can also allow Grid types for this would be great.

Taaks:

  • [ ] Paste key/value pairs (question variable/question label) - perhaps adding a third field for question type to accomodate grids - from Excel spreadsheet into Editor and this would build a form using our current API's. This form would be immediately archived so that it would not be displayed to the user. Alternatively, the user could use Editor to build the list of questions.
  • [ ] User on client would go to settings and choose "Build new form" and select the questions for the form using the archived form. This archived form would have a pre-defined name such as 'question-list.'
  • [ ] Form would be saved to Couchdb as TangyConfiguration - instead of TangyFormResponse collection. The code that lists available form would query the db for this collection. Does this require a new view? Otherwise, look at storing on the filesystem.
  • [ ] TODO: Does this new form need to be transferred to the server in order to use the records generated by it?

chrisekelley avatar Nov 14 '22 15:11 chrisekelley