Is there a way to limit a number of character for user input
Hi @Yonatan
Follow this link :
http://support.kobotoolbox.org/creating-forms/formbuilder/restricting-text-responses-with-regular-expressions
Regards
Tulus
2 Likes
Thanks you help me a lot
1 Like
Although, as @tulus45 indicated, you can use a regex to limit the number of characters in a string, for your purpose it’s probably a lot simpler to just use the string-length() XPath function; eg
Constraint = string-length(.) <= 10
3 Likes