Read-Only / Display Mode
Read-only mode enables you to display your surveys or forms without allowing users to modify them. This mode is useful if you want to let respondents review their answers before submitting them, prevent unintentional alterations in completed forms, or limit access to your form based on user permissions. In this demo, a survey is already set to read-only mode. You can use the "Enable read-only mode" checkbox in Settings to manage read-only mode at runtime.
If you want to enable read-only mode for your survey in code, set SurveyModel's readOnly property to true in the survey JSON schema or in your JavaScript code. This example demonstrates the latter case.
To choose how read-only questions appear, set the readOnlyMode property to one of the following values:
"readonly"(default)
Displays questions with their usual input controls, but disabled for editing."view"
Displays answers as text or other non-interactive elements.
Use the "Read-only mode" dropdown in Settings to switch between these options at runtime.