I would like you to teach me how I can limit input of Textbox only to numeric values, specifically 0 - 1000.
Textbox components accept all types of text by default.
However, I would like to make a routine as below to collect valid data.
1: Participant can input numeric values and end a routine by pressing key (e.g., space).
2: If participant tries to input other values, such as alphabet and NULL, error message appears and they are asked to input values again.
3: Values are collected (only valid ones are enough).
All I have done so far is make 1 procedure with builder.
I feel I need to code, but this beginner of Python fails to do so.
I appreciate if you give me a hand