Adds meter to input/textarea to reflect current length of input. Restricts entry of new characters when above max length.