maxlength is applied to
+----------------+--------------------------------------------------------------+ | Applied_To |<input type="password"> <input type="text"> | +----------------+--------------------------------------------------------------+