Big problem with max and maxlength, validation of max and maxlength is not consistency

https://app.camunda.com/jira/browse/CAM-9161

As metnioend in the above forum link, one option we use to work around this is: Form Server Validations: Generic Form Validator using Javascript