Anahkiasen/former — pull request #313 by luukholleman (2014-04-23 11:30:59+00:00)
Title: [Agnostic] Minlength attribute is not a valid attribute, used pattern instead

The minlength attribute is not a supported attribute, some libraries (h5validate) and browsers, like chrome, will ignore this attribute. The same result can be achieved with the pattern attribute. For example: .{5,} which forces a minimum of 5 characters.

See: https://stackoverflow.com/questions/10281962/is-there-a-minlength-validation-attribute-in-html5

Maxlength attribute IS valid and supported and does work. I still included the maxlength attribute in comibnation with 'between' because the pattern will only check if it's valid, the maxlength will really enforce that a user can't type more than x characters.