Partager via


maxLength Attribute

Applies To: Windows Server 2008

The maxLength attribute specifies the maximum number of text characters for a text element. The default value is 1023.

Syntax

maxLength ="<PlaceholderNumber>"

where

<PlaceholderNumber> is a placeholder for the maximum number of text characters.

Examples

This XML fragment example sets the maximum number of text characters for a text element to 1024.

<text id="Sample_TextboxPrompt" valueName="Example2textbox"

maxLength="1024"/>

Additional references

text Element