Name Validation

I’m new to KoBo Toolbox so my apologies if the questions I ask are no brainers. I’m trying to validate a text input that asks for a person’s name. I’m using this regex(.,’^[a-zA-Z ]’) expression but it’s failing. This is supposed to allow letters only and one space.What am I doing wrong?

1 Like

I also faced the same problem. Found the solution form this community.
Which is regex(.,‘[2]+$’)
in the “constraint” field please write thal.


  1. a-zA-Z ↩︎

  2. a-zA-Z ↩︎