max

LANSA WAM

max

Specifies the maximum value for an <input> element. Only valid for the following input types: number, range, date, datetime, datetime-local, month, time and week.

Note: The exact details of how a browser may use the value may vary. For example, one browser may prevent the user from entering invalid numbers while another may just use the value for field validation.

Default value

Blank - no maximum value is specified.

Valid values

Any value consistent with the <input> type (for example, a number for type=number, a date for type=date).