Wakefield's Daily Tips

Survey pages with descriptions must have questions

If you try to use the page description of a Pavlovia Survey as the only text on a page, you will get an error.

In survey-2024.2.0 the error is TypeError: page.elements is not iterable

In survey 2024.1.0 and 2024.3.0 you get a blank screen with TypeError: Cannot read properties of undefinied (reading ‘length’) in the console.

This error was caused by:

If you want to have a page in a survey that only contains text, add an html question.

1 Like