Closed chrismclarke closed 6 years ago
I've created a system to render the questions from the excel template (with a few modifications to the excel file, mostly to automatically generate app_meta fields). I've also started work on the full backend system and a master 'questions' page which the app will draw from as/when needed (and possibly provide access to as a quick method/summary).
@cebarahona could you take an initial quick look and provide your thoughts? You can access the page directly here: https://unhcr-sampling-assistant.firebaseapp.com/#/questions
So far the template should be able to:
Render inputs in the various formats As evidenced throughout the questions page:
Apply conditional formatting based on previous results As evidenced in q2.1 which then reveals the rest of the section
Dynamic text linked to existing values As evidenced in the label after section 3.1 which displays the current value of question 3.1 within the text string
Also now created for Multiple Text input type (see q4.2 shown if q4.1 = no). Web version updated.
Unable to rely on odk/enketo integrations (not very flexible) so choice between hard-coding all questions or generating schema to display. Opting to generate schema for wider use beyond project and easier modification.