Select the writing language

How do you define the writing language Inside the text and that no numbers or symbols are entered into the text A simple example I want to specify the writing language only to be in Arabic exclusively and in the case of entering the English language the text does not accept

Hi @salemalkilani,

Welcome to the community! I have made a workout in English (using the regex code), hope it should works for you in Arabic too. To learn more on regex please have a look at the support article here.

In the survey tab of your xlsform:

Data entry screen as seen in Enketo:

Reference xlsform:
Regex.xlsx (9.6 KB)

N.B. This workout supports character(s) between 1 to 50. To increase or decrease please change the {1,50} from within the code.

Have a great day!

Hello,
take care of a recent difference in regex behaviour between KoBoCollect and Enketo. See


Kind regards

Thank you from the bottom of my heart
The method worked by replacing the letter (a) with the letter (أ) and the letter (z) with the letter (ي)
So that the letter (أ) first letter in the Arabic language and the letter (ي) represents the last letter
Also, the person was unable to enter numbers or symbols into the text

1 Like

Thank you, it was very useful to me

1 Like