Top "Maxlength" questions

Maxlength specifies the maximum number of characters allowed in an element (like a string, a database field, an html input box, etc.

What is the MySQL VARCHAR max size?

I would like to know what the max size is for a MySQL VARCHAR type. I read that the max …

mysql varchar maxlength
What's the best way to limit text length of EditText in Android

What's the best way to limit the text length of an EditText in Android? Is there a way to do …

android android-edittext maxlength
Retrieve the maximum length of a VARCHAR column in SQL Server

I want to find the longest VARCHAR in a specific column of a SQL Server table. Here's an example: ID = …

sql sql-server string-length maxlength
Specifying maxlength for multiline textbox

I'm trying to use asp: <asp:TextBox ID="txtInput" runat="server" TextMode="MultiLine"></asp:TextBox> I …

asp.net textbox multiline maxlength
why is <input type="number" maxlength="3"> not working in Safari?

I like to have an input with maximum 3 characters. In Firefox everything works fine I can only write 3 numbers inside …

html safari maxlength
how can the textbox width be reduced?

Can I reduce the textbox width without using classes? <input type="text" maxlength="5" style="3px"/>

html maxlength inputbox
Limit on file name length in bash

The following questions are meant for bash and linux only: Is there a limit on the number of characters in …

linux bash file maxlength
How to programmatically set maxLength in Android TextView?

I would like to programmatically set maxLength property of TextView as I don't want to hard code it in the …

android textview maxlength
MVC Html.TextBoxFor MaxLength and Value

I am trying to setup a TextBox control in my project using Html.TextBoxFor. However, it only seems to have …

asp.net-mvc-2 model lambda maxlength html.textboxfor
RegEx for maximum length in JavaScript

How can I limit the length of a string matching a RegEx I assumed that var sixCharsRegEx = /^.{6,7}/ would only match …

javascript regex maxlength