Is it possible to restrict the keyboard language in odk-collect

1. What is the issue? Please be detailed.
Some of the enumerators are typing the text input questions in native language keyboard. We want to restrict them to use only english keyboard. Is it possible to achieve this in odk-collect or via odk forms?

You could use a regex constraint, only allowing/defining (all) valid English characters/signs.

Another, preferable option would be to use pre-defined a choice list for the location/village names.

1 Like

Hello @ravish_mallya

This regex pattern will match only English alphabet characters (both uppercase and lowercase), spaces, and common punctuation marks:

regex(., '^[a-zA-Z .,?!\'"-]*$')

1 Like

hi @joybindroo thanks for this solution. this should work.

hi @wroos thanks for this solution. This should work.