maxlength
常见例句
- MaxLength Specifies the maximum number of characters or list items allowed.
指定了所允許的字符或列表項的最多個數。 - The XML Schema specification defines a set of constraining facets (such as minInclusive or maxLength) that you can apply to simple types.
XML 模式槼範定義了一組約束 facet(比如 minInclusive 或 maxLength),可以將這些內容應用於簡單類型。 - Here, the string for the text field must be any alpha character whose length is one or more characters up to a maximum of 40, as specified in the inputText maxlength attribute.
這裡,文本字段的字符串必須是任何 alpha 字符,其長度爲 1 到 40 個字符,如 inputText maxlength 屬性中所指定的。 返回 maxlength