Answer in capital letters

Comment exiger des réponses en Majuscule? J’ai mis ce code validation: regex(.,‘[1]{1,50}$’) mais le nombre de mot est limité à 1 seul par réponse sans espace.


  1. A-Z ↩︎

Welcome @ulrichadj,
You might use a regex like … A-Z{1, 50} to check in a constraint.
Or you might convert the user entry with the function translate() into a (calculated) new variable. See ODK XForms Specification.
Unfortunately there is no option to directly limit the user on entry.
Hint: Often using the famous search function of the forum may provide help, e.g. Search results for 'upper' - KoboToolbox Community Forum.

2 Likes

@ulrichadj, you could do this by following these community posts discussed previously: