Setting slider to have only 1 tick for consent form

PsychoPy version (e.g. 2022.2.5):
Standard Standalone? (y/n) If not then what?: y
**What are you trying to achieve?:**A slider with just 1 tick box

What did you try to make it work?: Giving it just 1 tick and 1 label (see pic)

**What specifically went wrong when you tried that?:**Running it locally makes it crash.


I am trying to make a consent form using the Routine Template > Forms > consent_form. I quite like the template and plan to use it, especially as the submit button only appears once all items have been ticked, which is neat for my final year experiment.

However, the issue is that when all items (ticks i think they’re called in the slider dialogue) are clicked, the submit button appears to move to the next routine, even when items like ‘No’ are clicked. Which I do not want to happen.

What i have tried:
I have tried making it so that instead of “Yes” “No” (two options), there is only “Yes” (see pic), that way I can keep the function of when all items are clicked, the submit appears. However, this does not work.

Some Solutions I am down for:
-A way for the slider to only have one tick (preferably without using the code component).
-If the above is not possible, I can settle for two ticks (Yes, No), but I would like a way for the submit button to not appear if a “No” is clicked.

If these cannot be done without a code component, then that’s okay. However, I am not experienced at all with coding, and previous drafts of my experiment used code from this forum, of which failed to run in Pavlovia due to Python code not translating to JS, of which I am not knowledgeable enough to fix. Hence why I’d prefer this code component to be last resort.

Many thanks in advance,
Sean A.