Set Rating scales to mandatory

Hi @dvbridges,

You’re right, I found out what you were referring to. However, the slider doesn’t allow me to set to “single click”, change the marker type, or set “disappear=True”. I tried adding directly into the builder code and it says invalid syntax.

I’ve tired some custom code to make the element disappear but it doesn’t work either.

In a new “Each Frame” coder component:

for slider in [slider_1]:
   if slider.getRating() is not None:
        completed_slider=1
        if completed_slider=1:
             visual.Slider[slider](disappear=True)

This code doesn’t break the script, but it also doesn’t do anything.

Thanks
Casey!