At the end of a questionnaire, the user is presented with the following screen:
(Please refer to "Image 1" in the attached screen shot)
The screen provides the user with two options - either saving the form as "finalized" or saving the form as "incomplete". We would like to force the user to finalize their submission, i.e. we do not want them to have the option of saving their submission as 'incomplete'. How can we achieve that?
What we have tried
We thought that we could perhaps take a short-cut by simply not displaying the "Incomplete" button to user. We dug through the files in app-designer/app/system/ and discovered a file named 'finalize.handlebars' (in app-designer/app/system/survey/templates) which seemed to be the template for that screen (it is in fact the file referred to by app-designer/app/system/survey/js/prompts.js). We edited the file and removed the code that renders the "Incomplete" button, leaving the file as:
(Please refer to "Image 2" in the attached screen shot)
We ran the simple "grunt" command again to push the changes to the device, but it seemed to have no effect - at the end of the questionnaire the "Incomplete" button was still there, next to the "Finalize" button. The screen looked exactly the same as before.
Furthermore, we are well aware that, even if we did succeed in hiding the "Incomplete" button from the screen above, the user would still be able to save an incomplete submission via methods two and three as described at https://docs.opendatakit.org/odk-x/survey-using/#saving-a-form-instance
It would be ideal if we could prevent the latter two cases as well, but it is not as important to us as preventing an incomplete submission via the "End" screen.
Any help in this regard will be much appreciated.