"maxLength" constraint applied when using "values.xxx" templating

The "maxLength" constraint is now applied to the value string
retrieved from the targeted field. The string is truncated with
continuation dots as needed to meet the constraint.

Other constraints are not enforced because it's hard to come up with
an automatic way of enforcing "minLength" or "pattern".