Limit the number of characters for answer in question text

¿ como limito el numero de caracteres para una pregunta de texto


in constraints column will allow text with 1 to 100 characters.

1 Like

expression [regex(.,^.{1,100}$)] Couldn’t understand the expression starting at this point: regex(.,͎^.{1,100}$)

Hi @Fabiandc12
Welcome to the community forum. I would recommend you go through this article which explains the use of regex.). This will definitely give you proper context t on how to do this and many other more


1 Like

Try this :


I missed the quotation marks.

The first dot tells kobo to check the current field. The second dot tells regex to accept any characters.

1 Like