My script works perfectly offline, but when using the weblauncher it persistently crashes after the second page of my experiment.
I think I have pinned it down to one issue, this /ontrialend:
/ ontrialend = [if(dropdown.geslacht.selectedvalue) picture.aat_avatar.item.1 = getitem(picture.aat_avatar, dropdown.geslacht.selectedvalue+1)]
It is meant to select a picture in a subsequent task of either a male or a female, depending on the choice of gender (a dropdown called 'geslacht').
Without this ontrialend, the experiment seems to run fine online too.
Any thoughts on what could fix this issue? Thanks alot!