Change Built-In Warning Text
The default text used for built-in warnings can be modified. To change the default text:
- On the Interview tab, click the Styles button.
- In the Styles dialog box, select the Strings tab.
- For the setting you want to change, double-click in the Text field.
- Change the text as required.
- Click OK.
The built-in warning text settings that can be changed are listed in the following table.
| Name | Description | Default Text | Interview version |
|---|---|---|---|
| InvalidValueChangeWarning | The error shown when the submitted value of a read-only or hidden control differs to the current value of that attribute in the session | The value of a read-only or hidden control can not be changed. This value will be discarded. | Both |
| InterviewNotCompleteWarning | The error shown when an interview cannot be submitted because it is not complete | The interview can not be submitted because it is not complete.<br/>Please complete all screens and then return to this screen to complete the interview. | August 2016 |
| unsaved-text-label | The warning shown when a user tries to leave an interview containing unsaved changes | This screen may have data that has not been saved. | Latest |
| confirm-navigate-header-text | The heading for the message shown when a user tries to navigate away from a screen containing errors | Confirm Navigation | Latest |
| confirm-navigate-message-text | The warning shown when a user tries to navigate away from a screen containing errors | This screen currently contains errors that are preventing it from being saved. Do you wish to leave this screen and lose your changes? | Latest |
| timeout-warning-header-text | The heading for the message shown to users when the interview session is due to expire shortly | Timeout Warning | Latest |
| timeout-warning-message-text | The message shown to users when the interview session is due to expire shortly | Your session will expire shortly. Keep working to extend your session. | Latest |
| interview-timeout-pending | The message shown to users when the interview session is due to expire shortly | This interview session will expire shortly. Press OK to extend the session. <button id="timeout-dialog-ok">OK</button> | August 2016 |
| interview-timeout-expired | The message shown to users when the interview session has expired | This interview session has expired. | August 2016 |
| preseed-warnings-screen-title | The text used for the title of a screen showing pre-seeded data warnings | Warning | August 2016 |
| preseed-warnings-screen-text | The text used to precede the pre-seeded data warnings | The following warnings were encountered when starting the interview: | August 2016 |
| unsubmitted-text-label | The warning shown when a user tries to leave a screen containing unsubmitted data | This screen may have data that has not been submitted. | August 2016 |
Tip: HTML tags can be used in warning text. For more information, see Use Embedded HTML In an Interview.