Hi,
Also, with the upcoming 4.10, you'll be able to set the minimum length directly in the Control Settings, without having to type an XPath expression, and even have a character counter shown next to the field.
http://blog.orbeon.com/2015/06/how-new-form-builder-appearance.htmlAlex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet