[solved] Input validation
Hi all,
I have a simple experiment in which each trial consists of a short scenario, then participants have to answer 3 questions. Each answer goes into a text_input widget.
Question: How do I do input validation after the user has pressed "ok"? I need to allow integers only, and the sum of the three inputs has to be 20.
Thanks in advance!

Comments
Hi,
Welcome to the forum!
A while ago another OpenSesame user had a related question, where she wanted to make sure that the text input from a form_base item was a number between 0 and 100.
Perhaps our response to that question already gives you an idea on how to evaluate your input variables:
Does this help? Please don't hesitate to post any further questions if something is unclear!
Best,
Lotje
Did you like my answer? Feel free to

Yes, that answered it!
Thanks
Great! Feel free to post any further questions you may have!
Did you like my answer? Feel free to
