Max length added to the fidelds, constraints to the height also added.