You can add a Finalize Survey button to the questionnaire. When the user taps on this button, the questionnaire cannot be edited anymore. You can define filters that define the "finalized" state of the survey and assign them to the button.
To add the Finalize Survey button:
In the default configuration, the ConfirmSurvey button has the SaveAndConfirm action template assigned, >> SaveAndConfirm.
Ensure that the following input arguments are defined:
RecordId: Must be set to Record.
ConfirmFilter: If desired, you can change the default value (FINALIZE) to another filter, e. g. U1.Confirmed.
BaseRecordConfirmFilter: Defines the conditions which questionnaires are displayed read-only.
Ensure that the following input arguments are given in the QuestionnaireEditView action call (assigned to the EditQuestionnaireFromMA button):
ConfirmButtonName: The button calling the SaveAndConfirm action, in the default configuration ConfirmSurvey.
ConfirmedFilterName: The given filter defines the finalized state of a survey. Only records that do NOT meet the conditions can be edited by the user. Records meeting the conditions are read-only (the finalized button is not displayed anymore). This argument is set to U1.Confirmed in the default configuration.
ReadOnly: If you set this argument to true, the questionnaire is always read-only. The user cannot edit it.