maxLengthmaxLength*
*Contents  *Index  *Topic Contents
*Previous Topic: marginWidth
*Next Topic: media

maxLength

Description

Indicates the maximum number of characters that can be entered into a text control. This limits the user entry, not programmatic assignments to the value property.

Syntax

object.maxLength[ = maxLength]

Remarks

This value can be larger than the size of the text box. When this occurs, the text box should scroll accordingly as the user types. The default is no limit.

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

INPUT

See Also

size


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.