Pavlovia surveys - errors during piloting

Hi, I have some trouble with Pavlovia surveys.

During piloting people reported problems with error messages coming up. The first is a ‘Script error’ that comes up during the ‘Narcissism Questionnaire’ (Q.6-Q.21). Moreover what happens during that questionnaire, is that some questions set up as a boolean type, showed up to participants as checkbox questions (definitely Q.6, and Q.19(Pair 14)).
The second error is a ‘Load failed error’ after the study is completed.

(The survey was directly created on Pavlovia)

I am attaching a link to the copy of my survey if you could have a look at it. Thank you.

I’ve had a go at this and it appears to be specific to the participant setup

When I do the run through both using Preview but also using Pilot using Safari 15.4 and Mac OSX 12.3 I’m not seeing these issues

When I do the Pilot having copied the URL to my iPhone they do appear (screenshots attached). Its a 14 Pro Max running 16.2

(can only attach 2 of 3)

We identified the cause of the problem here when we noticed the question pair that was displaying as checkbox on phones had longer character counts than any of the others. Sure enough when those were shortened it displayed as Boolean and the Script error on opening that page also went away

Great detective work. In theory I think you may be able to override this behaviour.

I’ve found from Create a Yes/No or True/False Question | Form Builder for React that

Boolean questions support two UI modes: slider and radio button group. The slider UI is used with short labels; the radio button group UI—with long labels. If you want to force a question to use the radio button group UI regardless of the label length, set the renderAs property to "radio" . In this example, the second question demonstrates this case.

However, I can’t see “renderAs” as an option in our interface.

1 Like