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 mode
property to "display"
in the survey JSON schema or in your JavaScript code. This example demonstrates the latter case.