I just discovered that Chrome seems to have a default maxlength setting for input fields in html. I only can insert a string with length 8649.
Is there a method to increase this maxlength?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to my test, Chrome has no default value for
maxlength, and I can enter 10,000 characters in aninputfield (on Chrome 20 beta, Win 7). You may have tested with actual form submission using GET method, in which case there may be browser-dependent and server-dependent restrictions on the total length of form data.Inspecting the DOM on Chrome, an
inputelement has no defaultmaxlength, but it hasmaxLength, with the value 524288.