Add minlength attribute to each text input element